Lines Matching full:interval
153 * that the start time plus the interval time doesn't exceed in clock_highres_timer_settime()
163 * (where "s" is the start time, "i" is the interval, "n" is the in clock_highres_timer_settime()
187 * If this is a one-shot, then we set the interval to be in clock_highres_timer_settime()
233 hrtime_t interval = ts2hrt(&it->it_itime.it_interval); in clock_highres_timer_gettime() local
255 if (interval == 0) { in clock_highres_timer_gettime()
265 * Calculate how far we are into this interval. in clock_highres_timer_gettime()
267 diff = (now - start) % interval; in clock_highres_timer_gettime()
270 * Now check to see if we've dealt with the last interval in clock_highres_timer_gettime()
275 * The last interval hasn't fired; set it_value to 0. in clock_highres_timer_gettime()
282 * The last interval _has_ fired; we can return the amount in clock_highres_timer_gettime()
283 * of time left in this interval. in clock_highres_timer_gettime()
285 diff = interval - diff; in clock_highres_timer_gettime()