delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/08/15:31:48

Message-ID: <393FF15E.C39C0175@gtcom.net>
From: Krogg <krogg DOT no DOT to DOT spam AT gtcom DOT net>
X-Mailer: Mozilla 4.61 [en] (Win95; U)
X-Accept-Language: en,en-US,en-GB,ja,af
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: HELP...Gprof tore something up!
Lines: 39
Date: Thu, 08 Jun 2000 15:17:50 -0400
NNTP-Posting-Host: 12.16.179.84
X-Trace: eagle.america.net 960491936 12.16.179.84 (Thu, 08 Jun 2000 15:18:56 EDT)
NNTP-Posting-Date: Thu, 08 Jun 2000 15:18:56 EDT
Organization: 24hoursupport.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I never tried using the profiler b4 and wanted to see
what it did.....SO i took an loaded up a small Allegro
program in rhide and changed my compiler options from 
-s -O2 to -O2 -pg and hit F9......

ran the program for a little while and  
gprof'd it...Well that was cool,I was
supprised that the function expected to
be the hog was far shadowed by another...

then i changed my switches back,only i 
used an uppercase -S....i got an error
and changed that back to -s....recompiled
the program and when i ran it,it was slow....
It took longer than normal to load and there
was a noticible framrate hit.....hmmm....

well i figured that something was wrong
and erased the .exe and the .o file and 
all the files thet gprof generated and
recompiled.....it was still screwedup..
I recompiled it several times and no change.

So i ran another program i had made...It 
suffered from the same problem.....

I restarted my box,and tried again....Every
Djgpp/allegro program i have made runs slower
now.....I am not recompiling them,just running
them...I dont understand how they could have
been affected......

Any clues?......I am so fustrated.....HELP.



-- 
Remove no.to.spam to reply.

- Raw text -


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