Date: Sun, 27 Dec 1998 13:10:05 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Peter Palotas cc: djgpp AT delorie DOT com, Robert Hoehne Subject: Re: Profiling Problems. In-Reply-To: <3.0.16.19981219193038.3aef114e@hem1.passagen.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.