Lines Matching defs:ticks
202 tticks = ticks - td->td_blktick;
209 "blocked for %d ticks\n", __func__,
228 tticks = ticks - td->td_slptick;
243 "blocked for %d ticks\n", __func__,
362 * cpu ticks. The mean frequency of the second timer is stathz.
383 volatile int ticks;
386 DPCPU_DEFINE_STATIC(int, pcputicks); /* Per-CPU version of ticks. */
465 * Update per-CPU and possibly global ticks values.
468 global = ticks;
477 } while (!atomic_fcmpset_int(&ticks, &global, *t));
525 *t = ticks;
529 * Compute number of ticks in the specified amount of time.
534 unsigned long ticks;
541 * ticks, rounding up and adding 1 to allow for the current tick
545 * Otherwise, if the number of ticks in the whole seconds part of
547 * ticks separately and add, using similar rounding methods and
555 * 10ms ticks is 248 days.
572 ticks = 1;
574 ticks = howmany(sec * 1000000 + (unsigned long)usec, tick) + 1;
576 ticks = sec * hz
579 ticks = LONG_MAX;
580 if (ticks > INT_MAX)
581 ticks = INT_MAX;
582 return ((int)ticks);