From: "Shelby Cain" Subject: DJGPPv2.02 & Profiling in a Windoze 98 Dos Box Date: Fri, 21 Aug 1998 00:18:42 -0500 Lines: 19 Message-ID: Newsgroups: comp.os.msdos.djgpp NNTP-Posting-Host: 1Cust101.tnt4.dfw5.da.uu.net [153.36.196.101] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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... Any ideas???