Lines Matching defs:interval
55 * Sleep until *wakeup + interval, keeping cadence where desired
58 * interval - We want to sleep until *wakeup + interval
63 sleep_until(hrtime_t *wakeup, hrtime_t interval, int forever,
71 pause = *wakeup + interval - now;
73 if (pause <= 0 || pause < (interval / 4))
76 *wakeup = now + interval;
77 pause = interval;
83 * interval AND the number of intervals has been
88 * interval this time.
90 pause = interval / 2;
91 *wakeup += interval;
94 *wakeup += interval;