Subj : Re: code profilers? To : comp.programming.threads From : Fred MacMurray Date : Mon Aug 29 2005 10:40 am Jacek Pop?awski wrote: > my newsreader told me that Fred MacMurray wrote: >> Have you looked at valgrind/cachegrind? Its Linux centric but works very >> well. > > I know valgrind, but I want profiler similiar to gprof - to find where in > our code bottleneck is located. > I had the impression that valgrind/cachegrind is memory-specific. > Cachegrind is a valgrind tool that does execution profiling similiar to gprof but better. You don't need to modify the compililation or linking flags to use valgrind/cachegrind. Add kcachegrind to get a really good GUI for tracing the execution stats. .