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 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii 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