3

Can anyone suggest a performance analysis tool that runs on win32 on a native c++ app?

How about one that runs on Windows Mobile?

Michael Schmidt
  • 9,090
  • 13
  • 56
  • 80
glutz78
  • 767
  • 1
  • 6
  • 6
  • 1
    I'd imagine it means the app compiled to native machine code, not an intermediate language with a JIT compiler (such as you see for Java and a variety of languages of .NET, including C++). – Ben Voigt Apr 02 '10 at 00:18
  • First part of the question is a dupe: http://stackoverflow.com/questions/153559/what-are-some-good-profilers-for-native-c-on-windows Not sure about windows mobile. – Billy ONeal Apr 02 '10 at 00:55

4 Answers4

2

The Visual Studio Team System Profiler is excellent. A VSTS subscription runs about $5k or so, so it's not particularly cheap. Easy to use + good results + Visual Studio integration = well worth it, in my humble opinion.

You can try Luke Stackwalker. I have not yet tried using it, so I can't actually recommend it, but it looks promising. It's also free.

James McNellis
  • 348,265
  • 75
  • 913
  • 977
1

I've used Intel's VTune, it is pretty good. Probably doesn't run on windows mobile though.

enter image description here

dtech
  • 47,916
  • 17
  • 112
  • 190
1

I've used Very Sleepy with success on my Win32 hobby projects. I don't know if it runs on Windows mobile.

David
  • 7,011
  • 1
  • 42
  • 38
  • Sleepy has a fatal flaw that it requires you to pick a thread up front. It doesn't consider (and profile) new threads that get spawned due to a 'work request' -- something that happens in a lot of server-type applications. – Alex Budovski Apr 01 '10 at 23:52
  • And god forbid you want to profile startup time :) It's quite useful for everything else though. +1 – Billy ONeal Apr 02 '10 at 00:28
1

I use IBM Rational Quantify at work and it does the job pretty well. Though it is not cheap by any stretch of the imagination.

cpalmer
  • 1,107
  • 6
  • 10