Home
last modified time | relevance | path

Searched refs:nsecs (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/lib/posix/options/
Dtimespec_to_timeout.c13 int64_t milli_secs, secs, nsecs; in timespec_to_timeoutms() local
22 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()
Dtimer.c208 int64_t nsecs, secs; in timer_gettime() local
219 nsecs = (int64_t)leftover * NSEC_PER_MSEC; in timer_gettime()
221 its->it_value.tv_nsec = (int32_t) nsecs; in timer_gettime()