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

next in thread | previous in thread | raw e-mail | index | archive | help
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".

-- Terry

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?3B764CD4.9F63D071>