[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gprof
From: |
susukita |
Subject: |
Re: gprof |
Date: |
Mon, 10 Apr 2006 18:09:01 +0900 |
Hi Nick,
> > $ 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.
Thank you.
If this is a gprof bug and fixed in a future release of binutils, it
will be helpful.
SUSUKITA,Ryutaro