How to get the call graph of a program with a bit of profiling information

Posted by Werner on Stack Overflow See other posts from Stack Overflow or by Werner
Published on 2010-03-13T17:27:39Z Indexed on 2010/03/13 17:55 UTC
Read the original article Hit count: 240

Filed under:
|
|
|

Hi,

I want to understand how a C++ program that was given to me works, and where it spends the most time.

For that I tried to use first gprof and then gprof2dot to get the pictures, but the results are sometimes kind of ugly.

How do you usually do this? Can you recommend any better alternatives?

© Stack Overflow or respective owner

Related posts about c++

Related posts about profiling