pthread_getcpuclockid.c raw

   1  #include "pthread_impl.h"
   2  
   3  int pthread_getcpuclockid(pthread_t t, clockid_t *clockid)
   4  {
   5  	*clockid = (-t->tid-1)*8U + 6;
   6  	return 0;
   7  }
   8