Mail Archives: djgpp/1997/10/25/16:17:22
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 *
*************************************************************
- Raw text -