Mail Archives: djgpp/1998/08/22/18:13:44
Shelby Cain wrote:
>
> I am having a problem getting profiling to work under DJGPPv2.02...
>
> Basically, after I have compiled/linked my program with the '-pg' switch, it
> appears as if only one sample is taken and the profiling code stops
> collected data (as reported by gprof). The end result is the implication
> that the total execution time was around 0.06 seconds on my system with 100%
> of it taken up by __dpmi_int.
>
> The above example is simply ex35.c from the Allegro gaming library... but I
> want to be able to use this for a more serious optimization project...
I expect this is some conflict between the profiling mechanism and
Allegro's use of timers. The Allegro docs may discuss this. Try
profiling some non-allegro program and see if it works.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -