Home
last modified time | relevance | path

Searched refs:FSHIFT (Results 1 – 20 of 20) sorted by relevance

/netbsd/lib/librpcsvc/
H A Drstat.x40 %#define FSHIFT 8 /* bits to right of fixed binary point */
41 %#define FSCALE (1<<FSHIFT)
/netbsd/sys/sys/
H A Dparam.h489 #define FSHIFT 11 /* bits to right of fixed binary point */ macro
490 #define FSCALE (1<<FSHIFT)
/netbsd/sys/kern/
H A Dkern_synch.c1210 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()
H A Dsched_4bsd.c305 if ((n << FSHIFT) >= 7 * loadfac) { in decay_cpu_batch()
H A Dtty.c2714 tmp = (averunnable.ldavg[0] * 100 + FSCALE / 2) >> FSHIFT; in ttygetinfo()
2776 tmp = (pctcpu * 10000 + FSCALE / 2) >> FSHIFT; in ttygetinfo()
/netbsd/sys/arch/sparc64/dev/
H A Dauxio.c115 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in auxio_blink()
/netbsd/sys/arch/sparc/sparc/
H A Dauxreg.c95 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in blink()
/netbsd/external/bsd/top/dist/machine/
H A Dm_svr4.c101 #define FSHIFT 8 /* bits to right of fixed binary point */ macro
102 #define FSCALE (1<<FSHIFT)
H A Dm_irix5.c84 #define FSHIFT 8 /* bits to right of fixed binary point */ macro
85 #define FSCALE (1<<FSHIFT)
H A Dm_svr5.c107 #define FSHIFT 8 /* bits to right of fixed binary point */ macro
108 #define FSCALE (1<<FSHIFT)
H A Dm_sunos5.c139 #define FSHIFT 8 /* bits to right of fixed binary point */ macro
140 #define FSCALE (1<<FSHIFT)
/netbsd/sys/arch/sgimips/dev/
H A Dctl.c200 int ticks = ((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1); in ctl_blink()
/netbsd/sys/arch/sgimips/ioc/
H A Dioc.c230 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in ioc_blink()
/netbsd/usr.bin/rup/
H A Drup.c55 #undef FSHIFT /* Use protocol's shift and scale values */
/netbsd/libexec/rpc.rstatd/
H A Drstat_proc.c74 #undef FSHIFT /* Use protocol's shift and scale values */
/netbsd/sys/arch/sgimips/mace/
H A Dmace.c360 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in mace_blink()
/netbsd/sys/arch/sparc/dev/
H A Debus.c548 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in ebus_blink()
/netbsd/sys/arch/sgimips/hpc/
H A Dhpc.c683 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in hpc_blink()
/netbsd/sys/arch/hppa/hppa/
H A Dautoconf.c267 load = averunnable.ldavg[0] >> FSHIFT; in hppa_led_blinker()
H A Dmachdep.c2099 t = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1));