bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Gprof on linux: no timing output.


From: Frederick Smith
Subject: Gprof on linux: no timing output.
Date: Fri, 29 Jun 2001 00:09:11 -0400

Hi,

gprof with gcc under Linux RedHat 7.? on x86  does not produce any
timing output for me.  The function call counts look right; but the
timing is always zero or 0.01.  I must be missing something, but I don't
see how that's possible.

rpm reports that I have the following versions installed:
  binutils-2.10.91.0.2-3
  gcc-2.96.85

I tried both a large program (the one I care about) and a small test
program (to make sure I am not going crazy).  In both cases inspecting
gmon.out indicates that the profile histogram is empty (if I understand
the format correctly).   I also compiled a program with ocamlopt and it
too showed the saming timing results.  My hunch is therefore that the
problem is not with the compiler.

In the bug report mailing list there was a similar bug mailed on 11 Apr
2001 entitled Re: gprof not outputing timing info.  Was the cause of
that report ever discovered or corrected?  Scouring the net has not
turned up any similar problems.

Thank you for your help.  If there is any other information I could
provide that might prove helpful please let me know.

-Fred




reply via email to

[Prev in Thread] Current Thread [Next in Thread]