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 <[EMAIL PROTECTED]>
> |Nobody has ever, ever, EVER learned all of WordPerfect.
> `-------------------------------------------------------
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
> 
> 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to