Hi Susukita,

$ time ./a.out
real    0m4.324s
$ gprof a.out
Each sample counts as 0.01 seconds.
% cumulative self self total time seconds seconds calls s/call s/call name 9.46 43.22 4.09 rand
This looks like a gprof bug.  Specifically I would guess that either the 
sample period is incorrect or else the clock frequency calculated by the 
gprof/hertz.c:hertz() function is wrong.
Cheers
  Nick





_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to