Mail Archives: djgpp/1997/10/09/20:05:07
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 -