delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/04/15:30:42

Date: Thu, 4 Nov 1999 19:11:53 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: infinity girl <entropic AT mpx DOT com DOT au>
cc: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>, djgpp AT delorie DOT com
Subject: Re: mcount, and gprof
In-Reply-To: <382177B2.CEC4B27C@mpx.com.au>
Message-ID: <Pine.SUN.3.91.991104190849.15148E-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 4 Nov 1999, infinity girl wrote:

> i am using version 2.81 of djgpp so i don't think there is anything
> buggy happening.

2.8.1 is the version of GCC, not of the DJGPP library.  The problems 
with profiling come from the library, not from the compiler.

So please tell what version of DJGPP do you use.  Is it 2.01 or 2.02?

> Each sample counts as 0.055556 seconds.
>   %   cumulative   self              self     total           
>  time   seconds   seconds    calls  ms/call  ms/call  name    
>  22.97      0.94     0.94                             mcount
>  21.62      1.83     0.89  1148074     0.00     0.00  readBuf
>  17.57      2.56     0.72   574804     0.00     0.00  bsPut

This says that the program runs just a few seconds, while you were 
talking about 30 minutes.  What am I missing?

- Raw text -


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