Searched refs:machclk_freq (Results 1 – 6 of 6) sorted by relevance
649 bw = b->bw_bytes * machclk_freq / b->bw_delta; in fairq_addq()715 if (delta > machclk_freq * 8) in fairq_getq()716 delta = machclk_freq * 8; in fairq_getq()727 if (delta > machclk_freq * 8) in fairq_getq()728 delta = machclk_freq * 8; in fairq_getq()764 if (delta > machclk_freq * 8) in fairq_pollq()765 delta = machclk_freq * 8; in fairq_pollq()769 bw = cl->cl_bw_bytes * machclk_freq / cl->cl_bw_delta; in fairq_pollq()821 bw = b->bw_bytes * machclk_freq / b->bw_delta; in fairq_selectq()
342 if (machclk_freq == 0) in tbr_set()344 if (machclk_freq == 0) { in tbr_set()368 tbr->tbr_rate = TBR_SCALE(profile->rate / 8) / machclk_freq; in tbr_set()534 if (machclk_freq == 0) in altq_add()536 if (machclk_freq == 0) in altq_add()857 u_int32_t machclk_freq; variable921 machclk_freq = 1000000 << MACHCLK_SHIFT; in init_machclk()922 machclk_per_tick = machclk_freq / hz; in init_machclk()924 printf("altq: emulate %uHz cpu clock\n", machclk_freq); in init_machclk()934 machclk_freq = atomic_load_acq_64(&tsc_freq); in init_machclk()[all …]
126 cif->codel.params.target = machclk_freq * opts->target / 1000; in codel_add_altq()127 cif->codel.params.interval = machclk_freq * opts->interval / 1000; in codel_add_altq()265 c->params.target = machclk_freq * target / 1000; in codel_alloc()266 c->params.interval = machclk_freq * interval / 1000; in codel_alloc()
103 u_int32_t machclk_freq; member146 u_int32_t machclk_freq; member
1374 sm = (m << SM_SHIFT) / 8 / machclk_freq; in m2sm()1386 ism = ((u_int64_t)machclk_freq << ISM_SHIFT) * 8 / m; in m2ism()1395 dx = ((u_int64_t)d * machclk_freq) / 1000; in d2dx()1404 m = (sm * 8 * machclk_freq) >> SM_SHIFT; in sm2m()1413 d = dx * 1000 / machclk_freq; in dx2d()1612 sp->machclk_freq = machclk_freq; in get_class_stats_v0()1690 sp->machclk_freq = machclk_freq; in get_class_stats_v1()
111 extern u_int32_t machclk_freq;