Lines Matching refs:time
30 * OS independent time-manipulation functions.
44 # include <time.h> /* timeval */
45 # include <sys/time.h> /* timeval */
99 struct timespec time;
100 time.tv_sec = usecs / 1000000;
101 time.tv_nsec = (usecs % 1000000) * 1000;
102 while (clock_nanosleep(CLOCK_MONOTONIC, 0, &time, &time) == EINTR);
123 int64_t time, abs_timeout;
129 time = os_time_get_nano();
130 abs_timeout = time + (int64_t)timeout;
133 if (abs_timeout < time)