Lines Matching defs:time
30 * OS independent time-manipulation functions.
42 # include <time.h> /* timeval */
43 # include <sys/time.h> /* timeval */
96 struct timespec time;
97 time.tv_sec = usecs / 1000000;
98 time.tv_nsec = (usecs % 1000000) * 1000;
99 while (clock_nanosleep(CLOCK_MONOTONIC, 0, &time, &time) == EINTR);
120 int64_t time, abs_timeout;
126 time = os_time_get_nano();
127 abs_timeout = time + (int64_t)timeout;
130 if (abs_timeout < time)