• Advertisement
Sign in to follow this  

System Info(perfcounters)

This topic is 4664 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I would like to retrieve some system info with performance counters(perfcounters) but the example codes i've found are really sucky or close to non-existing. Not even msdn got an example code program for it with c++ what i could find. I've used them in c#.net before but there you just had to drag&drop basically. I would appreciate if anyone got a codeexample or so saved, just thats retrieves like cpu speed or something so i can easily change where it points at to get other values also from perfcounters. Of the little i've found im afraid you need shitloads of code just to get a value :/. Well any code or link to a good example would help. Would also like to know if there is anyway to get the cpuusage(for all processes)? Im in Windows Xp/VS 2005 beta 2. Regards

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by Dreadshoot
Of the little i've found im afraid you need shitloads of code just to get a value :/


Yeah, pretty much. That's why the C# library is so nice - very easy to use!

The MSDN documentation is actually pretty good (though it's quite a long read).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement