Date: Sat, 10 Jun 2000 04:33:42 +0600 (LKT) From: Kalum Somaratna aka Grendel X-Sender: kalum AT roadrunner DOT grendel DOT net To: djgpp AT delorie DOT com Subject: Re: HELP...Gprof tore something up! In-Reply-To: <200006091910.WAA26625@alpha.netvision.net.il> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Fri, 9 Jun 2000, Eli Zaretskii wrote: > > Date: Fri, 9 Jun 2000 08:05:01 +0600 (LKT) > > From: Kalum Somaratna aka Grendel > > > > The -pg causes profiling code to be included in the executable which > > results in a noticible performance hit..so please remove it... > > That's not really true: all the profiling code does is to hook the > timer tick interrupt and run a 5-line C function when the timer > ticks. For 18 times a second, this is nowhere near a performance > hit. Actually what made me make this comment is that from experience I find that a program compiled with the -pg option seems to run way slower than the same program without any optimisations ie just the -g switch. Grendel Hi, I'm a signature virus. plz set me as your signature and help me spread :)