Home
last modified time | relevance | path

Searched refs:FSCALE (Results 1 – 25 of 43) sorted by relevance

12

/netbsd/external/gpl2/gmake/dist/
H A Dgetloadavg.c139 # undef FSCALE
145 # undef FSCALE
274 # undef FSCALE
275 # define FSCALE 1024.0 macro
281 # undef FSCALE
282 # define FSCALE 100.0 macro
286 # ifndef FSCALE
291 # define FSCALE 2048.0 macro
295 # define FSCALE 256 macro
301 # undef FSCALE
[all …]
/netbsd/external/bsd/top/dist/
H A Dloadavg.h56 # if defined(FBITS) && !defined(FSCALE)
57 # define FSCALE (1 << FBITS) /* mips */ macro
61 #ifdef FSCALE
62 # define FIXED_LOADAVG FSCALE
63 # define FIXED_PCTCPU FSCALE
/netbsd/bin/ps/
H A Dnlist.c109 #ifndef FSCALE
110 #define FSCALE (1 << 8) macro
131 fscale = FSCALE; in donlist()
141 fscale = FSCALE; in donlist()
180 fscale = FSCALE; in donlist_sysctl()
/netbsd/libexec/rpc.rstatd/
H A Drstat_proc.c75 #undef FSCALE
107 #ifndef FSCALE
108 #define FSCALE (1 << 8) macro
214 stats_all.s3.avenrun[0] = avrun[0] * FSCALE; in updatestat()
215 stats_all.s3.avenrun[1] = avrun[1] * FSCALE; in updatestat()
216 stats_all.s3.avenrun[2] = avrun[2] * FSCALE; in updatestat()
/netbsd/sys/rump/librump/rumpkern/
H A Demul.c107 { 0 * FSCALE,
108 1 * FSCALE,
109 11 * FSCALE, },
110 FSCALE,
/netbsd/usr.bin/rup/
H A Drup.c56 #undef FSCALE
280 days_buf, hours_buf, (double)host_stat->avenrun[0]/FSCALE, in print_rup_data()
281 (double)host_stat->avenrun[1]/FSCALE, in print_rup_data()
282 (double)host_stat->avenrun[2]/FSCALE); in print_rup_data()
/netbsd/lib/librpcsvc/
H A Drstat.x36 %#ifndef FSCALE
41 %#define FSCALE (1<<FSHIFT)
/netbsd/sys/kern/
H A Dkern_synch.c1124 const fixpt_t ccpu = 0.95122942450071400909 * FSCALE;
1131 0.9200444146293232 * FSCALE, /* exp(-1/12) */
1132 0.9834714538216174 * FSCALE, /* exp(-1/60) */
1133 0.9944598480048967 * FSCALE, /* exp(-1/180) */
1216 lpctcpu += ((FSCALE - ccpu) * in sched_pstats()
1217 (lcpticks * FSCALE / clkhz)) >> FSHIFT; in sched_pstats()
1270 nrun * FSCALE * (FSCALE - cexp[i])) >> FSHIFT; in sched_pstats()
H A Dsched_4bsd.c285 return estcpu * loadfac / (loadfac + FSCALE); in decay_cpu()
289 return (uint64_t)estcpu * loadfac / (loadfac + FSCALE); in decay_cpu()
/netbsd/external/bsd/top/dist/machine/
H A Dm_svr4.c100 #ifndef FSCALE
102 #define FSCALE (1<<FSHIFT) macro
105 #define loaddouble(x) ((double)(x) / FSCALE)
106 #define percent_cpu(x) ((double)(x)->pr_cpu / FSCALE)
H A Dm_irix5.c83 #ifndef FSCALE
85 #define FSCALE (1<<FSHIFT) macro
H A Dm_svr5.c106 #ifndef FSCALE
108 #define FSCALE (1<<FSHIFT) macro
111 #define loaddouble(x) ((double)x/FSCALE)
H A Dm_sunos5.c138 #ifndef FSCALE
140 #define FSCALE (1<<FSHIFT) macro
143 #define loaddouble(la) ((double)(la) / FSCALE)
/netbsd/sys/uvm/
H A Duvm_init.c103 averunnable.fscale = FSCALE; in uvm_init()
/netbsd/sys/conf/
H A Dparam.c122 int fscale = FSCALE; /* kernel uses `FSCALE', user uses `fscale' */
/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/sys/arch/m68k/m68k/
H A Ddb_disasm.h367 #undef FSCALE
368 #define FSCALE ENCFT(1,0,0,1,1,0) macro
/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/sys/sys/
H A Dparam.h490 #define FSCALE (1<<FSHIFT) macro
/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/m68k/fpe/
H A DREADME68 FGETMAN, FDIV, FADD, FMUL, FSGLDIV(*), FSCALE, FSGLMUL(*), FSUB,
/netbsd/sys/arch/sgimips/hpc/
H A Dhpc.c683 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in hpc_blink()

12