This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Are we fast yet?


On Sun, 1 Jul 2012, Sergei Trofimovich wrote:

* Unfortunately Callgrind doesn't save the full stack trace so what you
see is a statistical breakdown for callees. It doesn't necessarily mean
that a call path displayed actually exists deeper than its first level.
But the numbers add-up so this is minor.

You might give a try to --num-callers= valgrind's option.

Thanks for the tip, but it doesn't seem to help. The reason is that Callgrind's output format only tells you that you call a function X number of times from function Y. So you may only assume that you've reached function Y from any of its callers.



Dimitris



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]