www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/28/20:40:01

From: j DOT aldrich6 AT genie DOT com
Message-Id: <199604290017.AA083727064@relay1.geis.com>
Date: Mon, 29 Apr 96 00:08:00 UTC 0000
To: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: Re: Gprof advice?

Reply to message 8188963    from GEORGE AT IL DOT FT. on 04/26/96  6:51AM


>You might try linking with the -pg option. I'm using the profiler and it
>works great, but I compile AND link with the -pg switch.

It does slow down your code rather immensely, though, especially when
some functions get called a few million times each during my program's
boot.  :)

One thing struck my curiosity, though.  I understand why _dpmi_int() takes
up so much of the time, but what is this 'timesub' function that seems to
be eating over 50% of my runtime?  My program syncs to a 1/4 second
timer, and delays itself when necessary - does 'timesub' simply represent
that portion of the runtime when the program is idle?  It tends to skew the
percentages somewhat.

John

- Raw text -


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