delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/27/06:10:06

Date: Sun, 27 Dec 1998 13:10:05 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Peter Palotas <blizzar AT hem1 DOT passagen DOT se>
cc: djgpp AT delorie DOT com, Robert Hoehne <robert DOT hoehne AT gmx DOT net>
Subject: Re: Profiling Problems.
In-Reply-To: <3.0.16.19981219193038.3aef114e@hem1.passagen.se>
Message-ID: <Pine.SUN.3.91.981227130915.113D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Sat, 19 Dec 1998, Peter Palotas wrote:

> I'm having problems profiling my programs. I'm using the beta version of
> egcs-1.1.1, and binutils 2.8.1.  I compile and link my programs with the
> -pg switch.  But whenever I profile a program using gprof test.exe it
> reports that the first function listed in the profile list takes 0.06
> seconds, and 100% of the program time. All other functions are reported to
> take 0.00 seconds.

What platform did you (and Robert) try this on?  DOS? Windows? what
version?

If you tried this on Windows, try on plain DOS and see if the results
are any different.

The new version of itimer is known to have problems on Windows (though
they aren't supposed to be that grave), but Tom Demmer, who made the
changes, said that the old version had problems there as well.

- Raw text -


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