Searched refs:nsecs (Results 1 – 2 of 2) sorted by relevance
13 int64_t milli_secs, secs, nsecs; in timespec_to_timeoutms() local22 nsecs = abstime->tv_nsec - curtime.tv_nsec; in timespec_to_timeoutms()24 if (secs < 0 || (secs == 0 && nsecs < NSEC_PER_MSEC)) { in timespec_to_timeoutms()27 milli_secs = secs * MSEC_PER_SEC + nsecs / NSEC_PER_MSEC; in timespec_to_timeoutms()
208 int64_t nsecs, secs; in timer_gettime() local219 nsecs = (int64_t)leftover * NSEC_PER_MSEC; in timer_gettime()221 its->it_value.tv_nsec = (int32_t) nsecs; in timer_gettime()