Home
last modified time | relevance | path

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

/netbsd-src/lib/librpcsvc/
H A Drstat.x40 %#define FSHIFT 8 /* bits to right of fixed binary point */
41 %#define FSCALE (1<<FSHIFT)
/netbsd-src/sys/sys/
H A Dparam.h482 * by the formula (1 / (2 ^ (FSHIFT - 11))). The maximum load average that
484 * the formula (2 ^ (2 * (16 - FSHIFT))) for (FSHIFT < 15).
487 * FSHIFT must be at least 11; this gives us a maximum load avg of ~1024.
489 #define FSHIFT 11 /* bits to right of fixed binary point */ macro
490 #define FSCALE (1<<FSHIFT)
/netbsd-src/sys/arch/sparc64/dev/
H A Dauxio.c114 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in auxio_blink()
/netbsd-src/sys/arch/sparc/sparc/
H A Dauxreg.c95 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in blink()
/netbsd-src/sys/kern/
H A Dkern_synch.c1209 l->l_pctcpu = (l->l_pctcpu * ccpu) >> FSHIFT; in sched_pstats()
1216 (lcpticks * FSCALE / clkhz)) >> FSHIFT; in sched_pstats()
1220 p->p_pctcpu = (p->p_pctcpu * ccpu) >> FSHIFT; in sched_pstats()
1269 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.c2710 tmp = (averunnable.ldavg[0] * 100 + FSCALE / 2) >> FSHIFT; in ttygetinfo()
2772 tmp = (pctcpu * 10000 + FSCALE / 2) >> FSHIFT; in ttygetinfo()
/netbsd-src/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-src/sys/arch/sgimips/dev/
H A Dctl.c200 int ticks = ((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1); in ctl_blink()
/netbsd-src/sys/arch/sgimips/ioc/
H A Dioc.c229 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in ioc_blink()
/netbsd-src/usr.bin/rup/
H A Drup.c55 #undef FSHIFT /* Use protocol's shift and scale values */
/netbsd-src/libexec/rpc.rstatd/
H A Drstat_proc.c74 #undef FSHIFT /* Use protocol's shift and scale values */
/netbsd-src/sys/arch/sgimips/mace/
H A Dmace.c359 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in mace_blink()
/netbsd-src/sys/arch/sparc/dev/
H A Debus.c548 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in ebus_blink()
/netbsd-src/sys/arch/sgimips/hpc/
H A Dhpc.c683 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in hpc_blink()
/netbsd-src/sys/arch/hppa/hppa/
H A Dautoconf.c267 load = averunnable.ldavg[0] >> FSHIFT; in hppa_led_blinker()
H A Dmachdep.c2095 t = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1));
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/windows/
H A Dwinuser.d54 FSHIFT = 4, enumerator