Are we fast yet?

Dimitrios Apostolou jimis@gmx.net
Mon Jul 2 05:12:00 GMT 2012


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



More information about the Gcc mailing list