Link to home
Start Free TrialLog in
Avatar of fungi8210
fungi8210

asked on

tool to make cpu busy

I'm looking for a tool that can make cpu busy.
I need this tool in order to test the performance of the decoder, since I assume that if the cpu gets too busy, the decoder will simply drop frames.

Does anyone know if there is any such tool in windows mobile?

thanks!
Avatar of checoo
checoo

You can write an small application with something like an infinite loop with some activity in it the loop. This will keep the CPU busy.
Avatar of Lee
Hi,

I am not sure of a particular tool, but if you install Minimo web browser that usually makes windows mobile crawl like a dead slug.

Regards,

Lee
ASKER CERTIFIED SOLUTION
Avatar of davebytes
davebytes
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
yes decoders will drop frames, encoders will not.

can you just elaborate on why you want the decode to drop frames?

oh and BTW the WMP dont seem to drop frames, it will just stop and say Buffering when CPU is under high load
I can make educated guesses -- fungi is probably working on something like a phone platform or maybe an automotive/navi platform.  In either case, the decoder might need to drop frames, either because of other process overhead on the CPU, or because the decoder process is given a limited timeslice overall.  A decoder MUST be able to drop frames on pretty much any platform, but especially on resource-limited embedded platforms.

So, running a test program like a math computation, or introducing your own sleeps into the system, will be good methods for seeing what the decoder does when running behind physically.