gprof

Hwee Kuan Lee hwee+@andrew.cmu.edu
Mon Feb 14 15:12:00 GMT 2000


Dear Sir,

I am not sure if this is the proper place to ask my question about the
profiling program call gprof.

I run gprof on my program and on the flat profile, the % time column
does not add up to 100%, not even close. It adds up to 51% and there are
1279 functions. If I add 0.01 seconds (the resolution of % time) to each
function to get a upper bond of total time, it will be 51%+12.79%=63.79%
<< 100%.

How can this be?

If this is not the proper place, can you point me to a proper place to
ask for help? 

Thanks.





More information about the Gcc-help mailing list