Measuring CPU Load

J

jonfroehlich

I've scoured the internet looking for solutions to measure the CPU load
on WM5 devices, particularly SmartPhones. Is there at standard way of
doing this? Some people have mentioned using the API call
GetIdleTime(), which apparently returns the idle time of the processor.
Has anyone tried this?

I was surprised to see that the .NET CF Remote Performance Monitoring
tool does not include functionality to measure CPU statistics. I just
tried pps from http://www.xs4all.nl/~itsme/projects/xda/tools.html.
This appears to output process and thread information including user
time. Is there anything else out there?
 
F

Fabien

Hi,

You can try the performance counters :

PerformanceCounter counter = new
PerformanceCounter("Processor", "% Processor Time", true);

BR


Fabien Decret
Windows Embedded Consultant


ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/



jonfroehlich a écrit :
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top