|C++ runtime profiling email@example.com (Amit Gupta) (2007-06-22)|
|Re: C++ runtime profiling firstname.lastname@example.org (David Z Maze) (2007-06-25)|
|Re: C++ runtime profiling email@example.com (Russ Cox) (2007-06-25)|
|Re: C++ runtime profiling firstname.lastname@example.org (regan) (2007-09-04)|
|C++ runtime profiling email@example.com (Michael Dunlavey) (2012-01-13)|
|From:||"Russ Cox" <firstname.lastname@example.org>|
|Date:||Mon, 25 Jun 2007 12:47:32 -0400|
|Posted-Date:||25 Jun 2007 13:22:15 EDT|
> I wonder if there are other good open-source runtime profilers for C++
> What other tools are out there?
If you're doing a lot of system calls and have a lot of
processes interacting, use oprofile, as mentioned.
For standalone programs, try the Google perftools
profiler . It does statistical sampling at run-time,
and produces very nice summary images showing
not only what the hot spots are but the stack traces
that led to them. It can also list your source code
with annotations showing which lines or assembly
instructions were the hot spots.
And the same interface works for profiling memory
Return to the
Search the comp.compilers archives again.