Lines Matching defs:tick
268 extern int msec_per_tick; /* milliseconds per clock tick (may be zero) */
269 extern int usec_per_tick; /* microseconds per clock tick */
270 extern int nsec_per_tick; /* nanoseconds per clock tick */
276 #define TICK_TO_SEC(tick) ((tick) / hz)
279 #define TICK_TO_MSEC(tick) \
280 (msec_per_tick ? (tick) * msec_per_tick : (tick) / tick_per_msec)
288 #define TICK_TO_USEC(tick) ((tick) * usec_per_tick)
293 #define TICK_TO_NSEC(tick) ((hrtime_t)(tick) * nsec_per_tick)
298 #define TICK_TO_TIMEVAL(tick, tvp) { \
299 clock_t __tmptck = (tick); \
304 #define TICK_TO_TIMEVAL32(tick, tvp) { \
305 clock_t __tmptck = (tick); \
311 #define TICK_TO_TIMESTRUC(tick, tsp) { \
312 clock_t __tmptck = (tick); \
317 #define TICK_TO_TIMESTRUC32(tick, tsp) { \
318 clock_t __tmptck = (tick); \