Closed GoogleCodeExporter closed 9 years ago
But gperftools doesn't track calls. It's a sampling profiler.
Or at least I'm not aware how to get function calls estimate. Can you elaborate
how exactly you get function calls numbers ?
Original comment by alkondratenko
on 14 Jul 2014 at 2:18
Ehm... It is probably a misunderstanding on my part then.
When converting gperftools output to callgrind, afaik as it is shown on the
screenshot from kcachedgrind, 1605x and 1119x are the estimated number of calls
from the upper function to the bottom one. Since gperftools are sampling they
could undercount or miss very fast functions, but not overestimate? Am I wrong?
If so what do those numbers mean?
Original comment by nhe...@gmail.com
on 14 Jul 2014 at 11:16
Attachments:
gperftools don't count or even estimate function call times. Those numbers are
likely just number of samples that some particular function accumulated. You
should check that with authors of gperftools-to-callgrind converter.
Original comment by alkondratenko
on 14 Jul 2014 at 5:51
Hey,
Thanks for the clarification. Could you point me out some names/emails of
people I should contact with my queries?
Original comment by nhe...@gmail.com
on 15 Jul 2014 at 11:55
>> Could you point me out some names/emails of people I should contact with my
queries?
No. They don't seem to be active in gperftools community. AFAIK converter from
pprof format to callgrind is simply part of kcachegrind program. So reaching
authors of this code might be the way to go.
Original comment by alkondratenko
on 15 Jul 2014 at 11:57
closing as not a bug.
Original comment by alkondratenko
on 15 Jul 2014 at 11:58
I have to apologize here. Somehow I was sure that you referred to some external
converter from pprof format to cachegrind. But it looks like you referred to
feature of pprof.
If you indeed refer to pprof's converted then I'm sure that number is hits
count and not number of function calls.
Original comment by alkondratenko
on 23 Aug 2014 at 9:54
Original issue reported on code.google.com by
nhe...@gmail.com
on 8 Jul 2014 at 10:20Attachments: