Mail Archives: djgpp/1997/10/23/23:16:22
From: | Michal Mertl <xmerm05 AT manes DOT vse DOT cz>
|
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: | <Pine.ULT.3.95.971022163502.7138B-100000@manes.vse.cz>
|
References: | <62kpdg$ptr$1 AT news DOT interlog DOT com>
|
NNTP-Posting-Host: | manes.vse.cz
|
Mime-Version: | 1.0
|
In-Reply-To: | <62kpdg$ptr$1@news.interlog.com>
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
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
- Raw text -