From: Jay F. <jay...@gm...> - 2010-11-02 14:20:01
|
On 2 November 2010 13:53, Maynard Johnson <may...@us...> wrote: > Jay Foad wrote: >> Hi, >> >> Can I use opreport --callgraph to tell me what proportion of run time >> was spent either in function foo(), or in any function called by foo() >> ? In other words I want to know the proportion of all samples with >> stack trace info, where foo was found anywhere in the stack trace. > Yes, that information is certainly present in the callgraph report. The non-indented lines show the total samples and their percentage relative to total samples. The non-indented lines show the number/percentage of samples taken in that function itself, representing the time spent in the function itself, *excluding* time spent in the function's callees. I want to see the time spent in the function *including* time spent in any callees. Thanks, Jay. |