Re: CPU load in wince 5.0
- From: "Erwin Zwart" <erwin dot zwart at pts dot nl>
- Date: Thu, 21 Feb 2008 09:17:03 +0100
For the CPU load u can use the Remote Performance Tool. If you want to do
this via an API u can use the CreateToolhelp32Snapshot(), Thread32First()
and
Thread32Next() to enum threads and then call GetThreadTimes() for each
thread to calculate CPU Load.
http://groups.google.nl/group/microsoft.public.windowsce.platbuilder/browse_thread/thread/aa580f1d0ff875f3/b5bb603ac6a96d97?hl=nl&lnk=gst&q=cpu+load+api#b5bb603ac6a96d97
You'll probably have to take a look at your SD driver for your SD memory
issue.
If you mean the size of the USB Memory device (USB Mass Storage) then you
can probably use GetDiskFreeSpaceEx().
Hope this helps,
Erwin Zwart
"kracks" <kirthikaiitm@xxxxxxxxx> wrote in message
news:de68111b-c475-41cf-9a6a-e26175b2885c@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Help me in Finding out the CPU load in wince 5.0
Memory usage,disk usage i obtained from GetStoreInfo and GetIdleTime
How to find out CPU load?
I didn't get any idea.I searched in MSDN groups.
Further if i insert the SD card my application must say much much
memory is available in SD card.As well i have to find out the memory
of USB device attached to my Wince device.
Help me how to find out these indices.
.
- Follow-Ups:
- Re: CPU load in wince 5.0
- From: kracks
- Re: CPU load in wince 5.0
- References:
- CPU load in wince 5.0
- From: kracks
- CPU load in wince 5.0
- Prev by Date: Re: Windows CE Command prompt
- Next by Date: Re: WINDOWS CE
- Previous by thread: CPU load in wince 5.0
- Next by thread: Re: CPU load in wince 5.0
- Index(es):
Relevant Pages
|