Searched refs:FSHIFT (Results 1 – 20 of 20) sorted by relevance
40 %#define FSHIFT 8 /* bits to right of fixed binary point */41 %#define FSCALE (1<<FSHIFT)
489 #define FSHIFT 11 /* bits to right of fixed binary point */ macro490 #define FSCALE (1<<FSHIFT)
1210 l->l_pctcpu = (l->l_pctcpu * ccpu) >> FSHIFT; in sched_pstats()1217 (lcpticks * FSCALE / clkhz)) >> FSHIFT; in sched_pstats()1221 p->p_pctcpu = (p->p_pctcpu * ccpu) >> FSHIFT; in sched_pstats()1270 nrun * FSCALE * (FSCALE - cexp[i])) >> FSHIFT; in sched_pstats()
305 if ((n << FSHIFT) >= 7 * loadfac) { in decay_cpu_batch()
2714 tmp = (averunnable.ldavg[0] * 100 + FSCALE / 2) >> FSHIFT; in ttygetinfo()2776 tmp = (pctcpu * 10000 + FSCALE / 2) >> FSHIFT; in ttygetinfo()
115 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in auxio_blink()
95 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in blink()
101 #define FSHIFT 8 /* bits to right of fixed binary point */ macro102 #define FSCALE (1<<FSHIFT)
84 #define FSHIFT 8 /* bits to right of fixed binary point */ macro85 #define FSCALE (1<<FSHIFT)
107 #define FSHIFT 8 /* bits to right of fixed binary point */ macro108 #define FSCALE (1<<FSHIFT)
139 #define FSHIFT 8 /* bits to right of fixed binary point */ macro140 #define FSCALE (1<<FSHIFT)
200 int ticks = ((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1); in ctl_blink()
230 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in ioc_blink()
55 #undef FSHIFT /* Use protocol's shift and scale values */
74 #undef FSHIFT /* Use protocol's shift and scale values */
360 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in mace_blink()
548 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in ebus_blink()
683 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in hpc_blink()
267 load = averunnable.ldavg[0] >> FSHIFT; in hppa_led_blinker()
2099 t = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1));