delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/12/19:47:58

From: varobert AT colba DOT net
Message-Id: <3.0.32.19990812190105.007a8ec0@mail.colba.net>
X-Sender: varobert AT mail DOT colba DOT net
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Date: Thu, 12 Aug 1999 19:01:10 -0400
To: djgpp AT delorie DOT com
Subject: Problem with GProf
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

I seem to have a problem with gprof: I successfully compiled my program
with the -pg switch, and it in turn gave me a gmon.out file which gprof
interpreted. The problem is that gprof tells some function called "rest"
took 100% of the cpu time, whereas all the other functions took 0.00
seconds, and 0.0% of CPU time, with a cumulative time of 0.0 seconds. Also,
gprof reports that my program ran for about 0.0555 secs, although I rn it
for 30 sec or so.

I'm compiling with DJGPP 2.02 (binutils 2.8.1), and using the Allegro lib,
although I'm not profiling the Allegro lib (don't want to).

Can anyone help ?
Tried searching the mail archive, but I'm dnloading the pages at 0.08
KB/sec...



- GodOfWar
There is always one more bug.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019