Message-Id: <3.0.16.19981227095007.086f30e4@hem1.passagen.se> X-Sender: blizzar AT hem1 DOT passagen DOT se X-Mailer: Windows Eudora Pro Version 3.0 (16) Date: Sun, 27 Dec 1998 09:56:43 -0500 To: Eli Zaretskii From: Peter Palotas Subject: Re: Profiling Problems. Cc: djgpp AT delorie DOT com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: djgpp AT delorie DOT com At 13.10 1998-12-27 +0200, you wrote: > >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? I can't answer for Robert, but I tried it on plain M$-DOS version 6.20, no Windows 95 installed. Using Robert's method, by replacing itimer.o in libc.a with the one from djgpp 2.01 fixed the problem though. I don't know if this caused any other problems or what the diffrences is, but we sure do have a problem here I think, which is kind of important. ----------------------------------------------------------- Peter Palotas alias Blizzar A brief description of DJGPP: NEVER BEFORE HAVE SO FEW DONE SO MUCH FOR SO MANY! DJGPP is Just a Great Programming Pleasure Do you want assistance when debugging your C/C++ programs? Look at http://hem1.passagen.se/blizzar/mss/index.html -----------------------------------------------------------