From owner-freebsd-hackers Sun Dec 12 22:49:57 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id D2B0114C8D for ; Sun, 12 Dec 1999 22:49:55 -0800 (PST) (envelope-from julian@whistle.com) Received: from current1.whiste.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id WAA99186; Sun, 12 Dec 1999 22:49:42 -0800 (PST) Date: Sun, 12 Dec 1999 22:49:41 -0800 (PST) From: Julian Elischer To: Chris Costello Cc: Ilia Chipitsine , hackers@FreeBSD.ORG Subject: Re: technical info needed In-Reply-To: <19991213000556.B868@holly.calldei.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You can compile the kernel with -p -g and use the profiling. 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'. > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message