Lines Matching refs:time
9 #include <time.h>
10 #include <sys/time.h>
51 * Ripped from linux/time.h because it's a kernel header, and thus
62 struct itimerval time = ((struct itimerval) { { 0, 0 }, { 0, 0 } });
65 if (setitimer(ITIMER_VIRTUAL, &time, &time) < 0)
69 remain = timeval_to_ns(&time.it_value);
109 /* Protection against the host's time going backwards */
146 * setitimer to larger than the one passed in. Over time,
147 * this will cause the remaining time to be greater than the