Date: Fri, 01 Jun 2001 19:29:30 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp-workers AT delorie DOT com Message-Id: <2427-Fri01Jun2001192929+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 In-reply-to: (message from Hans-Bernhard Broeker on Fri, 25 May 2001 12:53:42 +0200 (MET DST)) Subject: Re: More control for profiling References: Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Fri, 25 May 2001 12:53:42 +0200 (MET DST) > From: Hans-Bernhard Broeker > > On Wed, 23 May 2001, Eli Zaretskii wrote: > > > The following changes implement a couple of new functions (by mostly > > reusing existing code ;-) which let you control profiling > > programmatically from within the program being profiled. > > Sounds like a good idea. Gprof can do a large part of this, if you really > know how to use it (static callgraph deduction, limiting the displayed > data to a specific part of the call-graph, etc.), but it can be quite > cumbersome, to put it mildly. Thanks for the feedback and the suggestions. I've decided to put the prototypes of the functions on sys/gmon.h. The new code is now committed to the CVS.