getrusage with pthreads

Petri Helenius petri at helenius.fi
Tue Oct 7 05:02:52 UTC 2008


David Xu wrote:
>
> You can use clock_gettime(CLOCK_THREAD_CPUTIME_ID), but I admit
> getrusage like function is better.
>
Is this implemented in FreeBSD starting from some specific version? I 
cannot seem to find the header.

Pete

>
>



More information about the freebsd-threads mailing list