www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/05/20:02:56

Xref: news2.mv.net comp.os.msdos.djgpp:4634
Newsgroups: comp.os.msdos.djgpp
From: dj AT delorie DOT com (DJ Delorie)
Subject: Re: what is mcount?
Message-ID: <DJ.96Jun5193639@delorie.com>
Organization: DJ Delorie/DJGPP Support
In-Reply-To: thomas@unix.cde.com's message of Tue, 04 Jun 1996 23:35:34 GMT
Date: Wed, 5 Jun 1996 23:36:38 GMT
References: <4p2hic$b5p AT news DOT iag DOT net>
Lines: 9
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <4p2hic$b5p AT news DOT iag DOT net> thomas AT unix DOT cde DOT com writes:
> I used gprof and saw that my program spent mose of its time in mcount:
> What is it?

mcount() is the function that is called on each timer tick.  It has to
figure out where you are and store that information in the profiling
tables.  It's also called whenever one function calls another, to keep
track of the call graph counts.

- Raw text -


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