gprof does not show "time-spent"
Dehong_Zhang
dhzhang@fnal.gov
Wed Oct 17 12:29:00 GMT 2001
Hi,
I am trying to do some profiling on Linux and OSF1.
I did include "-pg" when compiling and could get the "gmon.out" file.
But "gprof -b -p ***" shows all 0's for the time information, like:
granularity: each sample hit covers 0 byte(s) no time accumulated
% cumulative self self total
time seconds seconds calls ms/call ms/call name
0.0 0.00 0.00 10 0.00 0.00 func__Fic [1]
0.0 0.00 0.00 1 0.00 0.00 main [2]
Here func_Fic should have spent all the time.
Please advice.
Thanks and best regards,
Dehong
More information about the Binutils
mailing list