What tools do you know, other than those in Visual Studio, to analyze performance bottlenecks in a Windows CE/Mobile application? I'm looking for something like AQTime for CE/Mobile, to profile C/C++ applications compiled to native code.
相关问题
- javah not able to find android classes
- How do I connect to a Java command-line tool with
- React Navigation onPress in own function
- React Native debug with Visual Studio Code not wor
- Execute native code via JNI/DLL or EXE?
相关文章
- Profiling Django with PyCharm
- Native hooking in Android Client
- How to hide miniprofiler?
- Profiling the Performance of a Google App Script
- Visual Studio Profiler showing “[broken]” as funct
- saving cProfile results to readable external file
- React native create rectangle bottom, plus half re
- Capture callstack and events in Xperf
I haven't found any such tools for WindowsMobile for native development.
The closest I've found is the EnTrek toolset (CodeSnitch / ProcMan), but they aren't really profiling tools. http://www.entrek.com/products.htm
What we did do is build own own profiling support into our own products using the Vistual Studio "/callcap" switch for VC++. Using that switch you can build a profiling library that dumps out timings and counts, whatever you like. It mostly works out well for us, but sometimes the overhead of these hook functions can be too much and it can skew the timing results to areas of massive number of function calls.
From the MSDN Docs:
Windows CE supports the Remote Call Profiler (if the OEM added support for it) out of the box. WinMo images, I believe, typically have support already in the images for it. For CE, you need to the IMAGEPROFILER environment variable set (usnder the project properties).
What's not clear in MSDN is how to instrument an app that isn't built with Platform Builder, but it's actually pretty simple. You have to add the /callcap swith to the compiler command line and add cecap.lib to your linker settings.
Of course you'll need a tool to capture and display the profiler data. For that you can use the evaluation version of Platform Builder (5.0 or 6.0) (the eval is free) or eVC 4.0 (also free).
For more info on the profiler's usage, Sue Loh from the CE core team has blogged a bit about it.
I have written a Call Graph profiler for Windows Mobile. It is currently (as of Jan 2010) in the Beta phase, and can be downloaded for free.
http://www.codeprophet.co.cc
HTH
-Zak
If you're doing .NET CF development, check out the Power Toys for .NET CF 3.5 for utilities that can help you pinpoint bottlenecks, especially memory-related ones.