Date: Sun, 12 Dec 1999 22:34:44 -0800 (PST) From: Kip Macy <kip@lyris.com> To: Chris Costello <chris@calldei.com> Cc: Ilia Chipitsine <ilia@cgilh.chel.su>, hackers@FreeBSD.ORG Subject: Re: technical info needed Message-ID: <Pine.SOL.4.05.9912122223050.19776-100000@luna.lyris.com> In-Reply-To: <19991213000556.B868@holly.calldei.com>
next in thread | previous in thread | raw e-mail | index | archive | help
It seems like using gprof would be a little bit more useful than
potentially having something print to the screen 50k times. I guess printf
would be fine if you only care if something is called a lot or not at all.
-Kip
On Mon, 13 Dec 1999, Chris Costello wrote:
> On Mon, Dec 13, 1999, Ilia Chipitsine wrote:
> > Is it called once an year or 500000 times a second ?
> > Is there a way how can I determine it by myself ?
>
> Add a statement like
>
> printf("somefunc() being called!\n");
>
> to the top of the function you want to 'measure'.
>
> --
> |Chris Costello <chris@calldei.com>
> |Nobody has ever, ever, EVER learned all of WordPerfect.
> `-------------------------------------------------------
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
>
>
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?Pine.SOL.4.05.9912122223050.19776-100000>
