www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/13/09:14:18

Date: Fri, 13 Aug 1999 13:37:19 +0200
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Message-Id: <199908131137.NAA18081@acp3bf.physik.rwth-aachen.de>
To: djgpp AT delorie DOT com
Subject: Re: Problem with GProf
Newsgroups: comp.os.msdos.djgpp
Organization: RWTH Aachen, III. physikalisches Institut B
X-Newsreader: TIN [version 1.2 PL2]
Reply-To: djgpp AT delorie DOT com

In article <3 DOT 0 DOT 32 DOT 19990812190105 DOT 007a8ec0 AT mail DOT colba DOT net> you wrote:
> 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. 

That's the telltale sign of the bug in the 'setitimer' routine in
DJGPP 2.02. The bug is fixed in 2.03 alpha. Another cheap way of
solving it was reported: extract the itimer.o file from DJGPP 2.01
libc.a, and put it into the 2.02 one.

--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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