delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/21/01:31:24

From: "Shelby Cain" <NOSPAMvhorrit AT email DOT msn DOT com>
Subject: DJGPPv2.02 & Profiling in a Windoze 98 Dos Box
Date: Fri, 21 Aug 1998 00:18:42 -0500
Lines: 19
Message-ID: <e#uUvNMz9GA.274@upnetnews03>
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

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???







- Raw text -


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