Subj : Re: code profilers? To : comp.programming.threads From : Fred MacMurray Date : Thu Aug 25 2005 05:12 pm Jacek Pop?awski wrote: Have you looked at valgrind/cachegrind? Its Linux centric but works very well. > Hello. > I am trying to profile multithreaded application (it works currently in > Linux, Windows and QNX). > > First I tried gprof, but output was wrong (0.00 everywhere, after few > minutes of code execution). I read (in Usenet archive) that there is some > workaround for gprof to work with multithreaded apps but I can't find any > more information about it. Can you point me to one? > > I tried qprof (http://www.hpl.hp.com/research/linux/qprof/), but I think > it works not like gprof, with default granularity output is very short, > with small granularity I get much more information but I am still not sure > is it really what I want. I failed giving qprof libunwind support, but I > am working on it. > > Then I tried cprof (http://cprof.sourceforge.net/), it requires > recompiling (like gprof), I am still trying to understand output :) > > Is there anything else I should try? > .