|
From: | Nick Clifton |
Subject: | Re: gprof |
Date: | Fri, 07 Apr 2006 16:38:08 +0100 |
User-agent: | Mail/News 1.5 (X11/20051205) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |