4 int __clock_gettime(clockid_t
, struct timespec
*);
10 if (__clock_gettime(CLOCK_PROCESS_CPUTIME_ID
, &ts
))
13 if (ts
.tv_sec
> LONG_MAX
/1000000
14 || ts
.tv_nsec
/1000 > LONG_MAX
-1000000*ts
.tv_sec
)
17 return ts
.tv_sec
*1000000 + ts
.tv_nsec
/1000;