performance profiling tool for Windows Mobile?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello everyone,


Are there any performance profiling tool for Windows Mobile? Either for
Windows Mobile 2003 or for Windows Mobile 2005 is ok (either simulator or
real device is ok). Any reference quick start turorials?

I simply want to generate a result like gprof generated on Linux, like the
percentage of each function consumed (and sorted from the most time consuming
function to the least time consuming function) and the related consumed time
stamp.


thanks in advance,
George
 
Hi,

I am not aware of any tool, but I use perf counters to determine the
performance,

http://msdn2.microsoft.com/en-us/library/ms172526(VS.80).aspx

http://msdn2.microsoft.com/en-us/library/ms172525(VS.80).aspx

Above are articles will help you,
The first step is to create and set the registry key on
the device. The registry key is:
Create a dword registry key
called "Counters" in
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework
\PerfMonitor"
and give it the value of 1. (Set it to 0 when you want to disable
the perf counters.) If you need a registry editor, there's one
included in
eVC/VS 2005 Tools.

Try running your app with the offline perf counters enabled.
When the perf counters are enabled, a file called mscoree.stat will
be created in the root directory when your app terminates. It
contains the performance counter data, with which you can determine
the performance of your application.

Cheers,
Arun
www.innasite.com
 
Back
Top