HomeSort by: relevance | last modified time | path
    Searched defs:overruns (Results 1 - 3 of 3) sorted by relevancy

  /src/sys/kern/
subr_time_arith.c 462 * itimer_transition(it, now, next, &overruns)
474 * - overruns: the number of overruns if we're firing late.
485 int64_t last_val, interval, now_ns, overruns, last_tick; local
526 /* no overruns. */
553 * we are about to compute 'overruns' and new 'next'.
555 * overruns now
566 overruns = (now_ns - last_val) / interval;
567 KASSERT(overruns > 0);
568 last_tick = last_val + interval * overruns;
    [all...]
kern_time.c 687 * and report any overruns.
867 int overruns; local
886 * now, compute the next itimer value and count overruns.
888 itimer_transition(&it->it_time, &now, &next, &overruns);
890 it->it_overruns += MIN(INT_MAX - overruns, overruns);
  /src/tests/kernel/
t_time_arith.c 88 * backwards, not counting overruns. Advance to the next
124 * overruns. Advance by one interval from the scheduled time.
145 * zero overruns. Advance by one interval from the scheduled
177 * Fired late by exactly two intervals -- two overruns.
343 int overruns; local
364 &next, &overruns);
393 ATF_CHECK_EQ_MSG(overruns, it.it_overruns,
396 " overruns %d, expected %d", i,
402 overruns, it.it_overruns);

Completed in 18 milliseconds