|
From: Nicholas N. <nj...@cs...> - 2008-01-12 23:27:03
|
On Sun, 13 Jan 2008, Josef Weidendorfer wrote: >> Would it be possible to run helgrind under callgrind? Did you try gprof? Any >> other suggestions? > > Yes. > Check out "Self hosting" in README_DEVELOPERS. > > To run callgrind on a Valgrind tool, you need to specify > "--pop-on-jump=yes" for the the outer callgrind. Otherwise, the callgraph > will grow linear to run time, producting an "out-of-memory" condition > after some time. > > Note that self hosting is _really_ slow, and it could take a while until you > reach the problematic phase. However, you can check out intermediate dumps > triggered by "callgrind_control". I've used Cachegrind and OProfile. OProfile is generally better because it is so much faster, and you know the numbers are real times, rather than instruction counts which don't necessarily map exactly to real times. But Cachegrind does give more detailed information. Nick |