Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's your favorite profiling tool (for C++) [closed]

So far, I've only used Rational Quantify. I've heard great things about Intel's VTune, but have never tried it!

Edit: I'm mostly looking for software that will instrument the code, as I guess that's about the only way to get very fine results.


See also:

What are some good profilers for native C++ on Windows?

like image 235
OysterD Avatar asked Aug 25 '08 19:08

OysterD


2 Answers

For linux development (although some of these tools might work on other platforms). These are the two big names I know of, there's plenty of other smaller ones that haven't seen active development in a while.

  • Valgrind
  • TAU - Tuning and Analysis Utilities
like image 102
Al. Avatar answered Oct 19 '22 23:10

Al.


For Linux: Google Perftools

  • Faster than valgrind (yet, not so fine grained)
  • Does not need code instrumentation
  • Nice graphical output (--> kcachegrind)
  • Does memory-profiling, cpu-profiling, leak-checking
like image 32
Weidenrinde Avatar answered Oct 19 '22 23:10

Weidenrinde