Re: CPU load in wince 5.0

Tech-Archive recommends: Speed Up your PC by fixing your registry



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.




.



Relevant Pages

  • Re: CPU load in wince 5.0
    ... this via an API u can use the CreateToolhelp32Snapshot, Thread32First() ... If you mean the size of the USB Memory device then you ... How to find out CPU load? ...
    (microsoft.public.windowsce.embedded)
  • Re: Why does the stack have a fixed size?
    ... The high-load inefficiencies are more a problem of CPU load than memory load, at least that's been my impression. ... So you could turn off all signals and then have one thread fetch them the clean way. ... However, if the stack is heap-based, you allocate just the same number of pages overhead for memory management). ...
    (comp.lang.functional)
  • Re: looping eating 100 per cpu
    ... >> i've got a while loop thats iterating through a text file and pumping ... >> the looping causes my CPU load to race up to 100 per cent. ... > whole file is read once, and then processed line by line from memory. ...
    (comp.lang.php)
  • Re: Fedora Core 3, all 1.5Gb memory used, how to free it?
    ... > and for the application to become unresponsive, due to lack of memory? ... > get more information on what was going on with system resources. ... caused by CPU load, disk access, or by swap. ...
    (alt.os.linux)
  • CPU load in wince 5.0
    ... 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? ... of USB device attached to my Wince device. ...
    (microsoft.public.windowsce.embedded)