Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2001 14:09:24 +0200
From:      Bernd Walter <ticso@mail.cicely.de>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        Bernd Walter <ticso@mail.cicely.de>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Profiling under FreeBSD
Message-ID:  <20010812140924.B7326@cicely20.cicely.de>
In-Reply-To: <3B764CD4.9F63D071@mindspring.com>; from tlambert2@mindspring.com on Sun, Aug 12, 2001 at 02:31:00AM -0700
References:  <20010812111229.A6862@cicely20.cicely.de> <3B764CD4.9F63D071@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 12, 2001 at 02:31:00AM -0700, Terry Lambert wrote:
> Bernd Walter wrote:
> > Can anyone give me a short intro about how to profile a C/C++ programm
> > under FreeBSD?
> > Pointers to URLs and Books are also welcome.
> 
> Use "CFLAGS=-pg", and make sure the program terminates normally;
> also "man gprof".

I already found -pg and gprof but made the error to stop the program
with CTRL-C.  Obviously I never get the profile this way...

Thank you.

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso@cicely.de         Usergroup           info@cosmo-project.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010812140924.B7326>