How do I write C function to get CPU usage from Win32 platform?
And I want it to return in integer. Thank you very much.
How do I write C function to get CPU usage from Win32 platform?
And I want it to return in integer. Thank you very much.
Usage in relation to what.......??
i think he means like when u open the taskmngr and u have percentage of cpu used...
somethink like a benchmarker? sounds too in-depth for C, might want to work on assembly with soemthing like that. just my opinion, not sure how to do this.
Yes. I want like when open taskmgr. But I want fuction to do that.
Try taking a peek at this..
http://msdn.microsoft.com/library/de...nformation.asp