How to get the call graph of a program and 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:35 UTC
Read the original article Hit count: 214

Filed under:
|

Hi,

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

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

I wonder if could recommend me other alternatives or how do you usually do this.

Thanks

© Stack Overflow or respective owner

Related posts about bash

Related posts about profiling