Lines Matching full:clock_gettime
85 struct timespec oldLoad = {0, 0}; // previous value of clock_gettime(CLOCK_THREAD_CPUTIME_ID)
200 oldTsValid = !clock_gettime(CLOCK_MONOTONIC, &oldTs);
518 int rc = clock_gettime(CLOCK_MONOTONIC, &newTs);
525 "clock_gettime(CLOCK_MONOTONIC) failed: was %ld.%09ld but now %ld.%09ld",
591 // compute the delta value of clock_gettime(CLOCK_MONOTONIC)
596 // compute raw CPU load = delta value of clock_gettime(CLOCK_THREAD_CPUTIME_ID)
599 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &newLoad);