delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/09/20:05:07

Date: Thu, 9 Oct 1997 17:03:36 -0700 (PDT)
Message-Id: <199710100003.RAA14883@adit.ap.net>
Mime-Version: 1.0
To: "Stefan Schimanski" <1Stein AT gmx DOT de>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Profiling allegro apps

At 09:02  10/7/1997 GMT, Stefan Schimanski wrote:
>Hello,
>
>does anybody know how to profile code written with djgpp and allegro. gprof
>doesn't work because no profiling data is produced by the executable. I've
>tested it with a simple Hello-world program and it worked. Could it be that
>the timer code of allegro kills the profiler code inside the executable?
Yeah, I think that's the case. Shawn?
You might be able to implement some limited profiling by using an Allegro
timer as a counter, and printing its value at various strategic places in
the code.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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