GPROF: GNU gprof 18.104.22.168.6-5.fc6
UNAME-A: Linux <myhost> 2.6.20-1.2962.fc6 #1 SMP Tue Jun 19 18:24:12 EDT 2007
i686 i686 i386 GNU/Linux
On single core CPU's and older kernels the cumulative seconds column converged
well towards the user time for the executed command. On multi core and SMP
machines this seems way off - not half (for dual core) - just something.
Reproduce: I have a simple C program to demonstrate this.
Created attachment 1934 [details]
This simple program checks if the user time reported by time corresponds to the cumulative seconds reported by gprof
for multi core CPUs currently this seems to be way off;
for RH9 (on a single core CPU) a good correspondence was found
This isn't a bug with gprof. gprof is a very simple program; it reads data
files generated by your system C library, and those contain time information.
So you need to report this against the system C library.