/netbsd/external/gpl2/gmake/dist/ |
H A D | getloadavg.c | 139 # 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 D | loadavg.h | 56 # 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 D | nlist.c | 109 #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 D | rstat_proc.c | 75 #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 D | emul.c | 107 { 0 * FSCALE, 108 1 * FSCALE, 109 11 * FSCALE, }, 110 FSCALE,
|
/netbsd/usr.bin/rup/ |
H A D | rup.c | 56 #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 D | rstat.x | 36 %#ifndef FSCALE 41 %#define FSCALE (1<<FSHIFT)
|
/netbsd/sys/kern/ |
H A D | kern_synch.c | 1124 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 D | sched_4bsd.c | 285 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 D | m_svr4.c | 100 #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 D | m_irix5.c | 83 #ifndef FSCALE 85 #define FSCALE (1<<FSHIFT) macro
|
H A D | m_svr5.c | 106 #ifndef FSCALE 108 #define FSCALE (1<<FSHIFT) macro 111 #define loaddouble(x) ((double)x/FSCALE)
|
H A D | m_sunos5.c | 138 #ifndef FSCALE 140 #define FSCALE (1<<FSHIFT) macro 143 #define loaddouble(la) ((double)(la) / FSCALE)
|
/netbsd/sys/uvm/ |
H A D | uvm_init.c | 103 averunnable.fscale = FSCALE; in uvm_init()
|
/netbsd/sys/conf/ |
H A D | param.c | 122 int fscale = FSCALE; /* kernel uses `FSCALE', user uses `fscale' */
|
/netbsd/sys/arch/sparc64/dev/ |
H A D | auxio.c | 115 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in auxio_blink()
|
/netbsd/sys/arch/sparc/sparc/ |
H A D | auxreg.c | 95 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in blink()
|
/netbsd/sys/arch/m68k/m68k/ |
H A D | db_disasm.h | 367 #undef FSCALE 368 #define FSCALE ENCFT(1,0,0,1,1,0) macro
|
/netbsd/sys/arch/sgimips/dev/ |
H A D | ctl.c | 200 int ticks = ((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1); in ctl_blink()
|
/netbsd/sys/arch/sgimips/ioc/ |
H A D | ioc.c | 230 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in ioc_blink()
|
/netbsd/sys/sys/ |
H A D | param.h | 490 #define FSCALE (1<<FSHIFT) macro
|
/netbsd/sys/arch/sgimips/mace/ |
H A D | mace.c | 360 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in mace_blink()
|
/netbsd/sys/arch/sparc/dev/ |
H A D | ebus.c | 548 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in ebus_blink()
|
/netbsd/sys/arch/m68k/fpe/ |
H A D | README | 68 FGETMAN, FDIV, FADD, FMUL, FSGLDIV(*), FSCALE, FSGLMUL(*), FSUB,
|
/netbsd/sys/arch/sgimips/hpc/ |
H A D | hpc.c | 683 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1)); in hpc_blink()
|