[Bug gprof/4848] gprof gives wrong time summary on multi core / SMP environment
--- Additional Comments From markus dot maresch at bigfoot dot com 2007-07-26 18:23 --- Created an attachment (id=1934) --> (http://sourceware.org/bugzilla/attachment.cgi?id=1934&action=view) 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 -- http://sourceware.org/bugzilla/show_bug.cgi?id=4848 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gprof/4848] New: gprof gives wrong time summary on multi core / SMP environment
GPROF: GNU gprof 2.17.50.0.6-5.fc6 UNAME-A: Linux 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. -- Summary: gprof gives wrong time summary on multi core / SMP environment Product: binutils Version: 2.17 Status: NEW Severity: normal Priority: P2 Component: gprof AssignedTo: unassigned at sources dot redhat dot com ReportedBy: markus dot maresch at bigfoot dot com CC: bug-binutils at gnu dot org GCC build triplet: 2.6.20-1.2962.fc6 GCC host triplet: i686 GCC target triplet: i686 http://sourceware.org/bugzilla/show_bug.cgi?id=4848 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils