Mail Archives: djgpp/1999/03/19/10:33:21

Date: Fri, 19 Mar 1999 10:33:14 -0500
Message-Id: <>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <> (message from Daniel on Fri, 19
Mar 1999 21:55:16 +1000)
Subject: Re: mcount? [gprof question]
References: <36F23B23 DOT 658E8FB3 AT mpx DOT com DOT au>
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

>   i was using gprof for the first time today , and it had information
> regarding a function.. mcount.  also, this function was given an index
> number using (), rather than [].  it certainly isn't a function that i
> called.. issit called by the libc routines?

gcc embeds calls to mcount at certain points in each function.  It's
not something you call yourself.

> PS: oh one other thing.. my program spends over 40% of its time in
> __dpmi_int.  do the stdio functions use software interrupts??  [my
> program is I/O heavy]


- Raw text -

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