Messages in this thread | | | Date | Wed, 27 May 2009 18:56:15 +0200 (CEST) | From | Thomas Gleixner <> | Subject | Re: linux missing support for _POSIX_THREAD_CPUTIME? |
| |
On Wed, 27 May 2009, Chris Friesen wrote:
That's more a question for the glibc folks. CC'ed.
> Hi all, > > POSIX defines optional support for clock ID values obtained by invoking > pthread_getcpuclockid(). When passed to clock_gettime(), this allows > the caller to request the CPU-time clock of an arbitrary thread within > the same process as the caller. > > It appears that linux doesn't support this functionality--is that > correct? Is there any plan to enable this? > > Is there any current way to obtain the runtime of a particular thread > without knowing its tid (since the thread_id to tid mapping is known > only to glibc)? > > Thanks, > > Chris >
| |