From: Michal Mertl Newsgroups: comp.os.msdos.djgpp Subject: Re: Is there a profiler for DJGPP Date: Wed, 22 Oct 1997 16:49:32 +0200 Organization: Prague University of Economics Lines: 18 Message-ID: References: <62kpdg$ptr$1 AT news DOT interlog DOT com> NNTP-Posting-Host: manes.vse.cz Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <62kpdg$ptr$1@news.interlog.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Wed, 22 Oct 1997, Gautam N. Lad wrote: > Hi, > Subject says it all. So is there a Profiler for DJGPP, and if yet, where can I get it > (I have a feeling it's at the DJGPP site, but what's the filename, and what's the > latest). > It's a part on binutils called gprof. You have to compile and link your code with debugging and profiling information (-pg). Then you have to run the program. On exit you find a file aout.mon or whatever. Then you run gprof proname and on stdout you'l have results of profiling. HTH Michal "MiMe" Mertl xmerm05 AT vse DOT cz