Sender: nate AT cartsys DOT com Message-ID: <35DF2905.CB0A0190@cartsys.com> Date: Sat, 22 Aug 1998 13:24:37 -0700 From: Nate Eldredge MIME-Version: 1.0 To: Shelby Cain CC: djgpp AT delorie DOT com Subject: Re: DJGPPv2.02 & Profiling in a Windoze 98 Dos Box References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk 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