Message-Id: <3.0.16.19981219193038.3aef114e@hem1.passagen.se> X-Sender: blizzar AT hem1 DOT passagen DOT se (Unverified) X-Mailer: Windows Eudora Pro Version 3.0 (16) Date: Sat, 19 Dec 1998 19:31:02 -0500 To: djgpp AT delorie DOT com From: Peter Palotas Subject: Profiling Problems. Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: djgpp AT delorie DOT com 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. This goes for all of the programs I have tested. One of them made calculations for 1.5 minutes, and it still only reported that all functions took 0.00 seconds to execute. If I put a sleep() call in a function it still takes 0.00 seconds to execute according to gprof. If anyone could help me with this I would really appreciate it, because I would like to be able to profile my programs.