lkml.org 
[lkml]   [2009]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux missing support for _POSIX_THREAD_CPUTIME?
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


\
 
 \ /
  Last update: 2009-05-27 18:49    [W:0.062 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site