From: Thomas Demmer Newsgroups: comp.os.msdos.djgpp Subject: Re: Is there a profiler for DJGPP Date: Thu, 23 Oct 1997 09:51:27 +0200 Organization: Lehrstuhl fuer Stroemungsmechanik Lines: 33 Message-ID: <344F01FF.F32B375F@LSTM.Ruhr-UNI-Bochum.De> References: <62kpdg$ptr$1 AT news DOT interlog DOT com> NNTP-Posting-Host: c64.lstm.ruhr-uni-bochum.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Michal Mertl wrote: > > 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. Almost. The stock sources of libc have a slight bug that may crash your computer if you have a memory manager installed that uses the memory occupied by a monochrome card. The fix can be found on ftp.lstm.ruhr-uni-bochum.de/pub/djgpp/patches. -- Ciao Tom ************************************************************* * Thomas Demmer * * Lehrstuhl fuer Stroemungsmechanik * * Ruhr-Uni-Bochum * * Universitaetsstr. 150 * * D-44780 Bochum * * Tel: +49 234 700 6434 * * Fax: +49 234 709 4162 * * http://www.lstm.ruhr-uni-bochum.de/~demmer * *************************************************************