/netbsd-current/external/bsd/top/dist/ |
H A D | loadavg.h | 48 * We assume that if FSCALE is defined, then avenrun and ccpu are type long. 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-current/lib/librpcsvc/ |
H A D | rstat.x | 36 %#ifndef FSCALE 41 %#define FSCALE (1<<FSHIFT) 43 %#endif /* ndef FSCALE */ 80 int avenrun[3]; /* scaled by FSCALE */ 99 unsigned int avenrun[3];/* scaled by FSCALE */
|
/netbsd-current/bin/ps/ |
H A D | nlist.c | 109 #ifndef FSCALE 110 #define FSCALE (1 << 8) macro 131 fscale = FSCALE; 141 fscale = FSCALE; 180 fscale = FSCALE;
|
/netbsd-current/external/gpl2/gmake/dist/ |
H A D | getloadavg.c | 84 sparc.h's) use macros like FSCALE, defined here. */ 137 /* NeXT defines FSCALE in <sys/param.h>. However, we take FSCALE being 139 # undef FSCALE macro 145 # undef FSCALE macro 272 /* <sys/param.h> defines an incorrect value for FSCALE on Alpha OSF/1, 274 # undef FSCALE macro 275 # define FSCALE 1024.0 macro 279 /* <sys/param.h> defines an incorrect value for FSCALE on an 281 # undef FSCALE macro 282 # define FSCALE macro 291 # define FSCALE macro 295 # define FSCALE macro 301 # undef FSCALE macro 302 # define FSCALE macro 306 # define FSCALE macro 310 # define FSCALE macro 314 # define FSCALE macro [all...] |
/netbsd-current/libexec/rpc.rstatd/ |
H A D | rstat_proc.c | 75 #undef FSCALE macro 107 #ifndef FSCALE 108 #define FSCALE (1 << 8) macro 214 stats_all.s3.avenrun[0] = avrun[0] * FSCALE; 215 stats_all.s3.avenrun[1] = avrun[1] * FSCALE; 216 stats_all.s3.avenrun[2] = avrun[2] * FSCALE;
|
/netbsd-current/usr.bin/rup/ |
H A D | rup.c | 56 #undef FSCALE macro 280 days_buf, hours_buf, (double)host_stat->avenrun[0]/FSCALE, 281 (double)host_stat->avenrun[1]/FSCALE, 282 (double)host_stat->avenrun[2]/FSCALE);
|
/netbsd-current/sys/uvm/ |
H A D | uvm_init.c | 103 averunnable.fscale = FSCALE;
|
/netbsd-current/sys/rump/librump/rumpkern/ |
H A D | emul.c | 110 { 0 * FSCALE, 111 1 * FSCALE, 112 11 * FSCALE, }, 113 FSCALE,
|
/netbsd-current/sys/conf/ |
H A D | param.c | 122 int fscale = FSCALE; /* kernel uses `FSCALE', user uses `fscale' */
|
/netbsd-current/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 86 #endif /* FSCALE */
|
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 141 #endif /* FSCALE */ 143 #define loaddouble(la) ((double)(la) / FSCALE)
|
H A D | m_macosx.c | 109 #define pctdouble(p) ((double)(p) / FSCALE)
|
/netbsd-current/sys/arch/sparc/sparc/ |
H A D | auxreg.c | 95 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1));
|
/netbsd-current/sys/arch/sparc64/dev/ |
H A D | auxio.c | 114 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1));
|
/netbsd-current/sys/kern/ |
H A D | sched_4bsd.c | 285 return estcpu * loadfac / (loadfac + FSCALE); 289 return (uint64_t)estcpu * loadfac / (loadfac + FSCALE);
|
H A D | kern_synch.c | 1123 const fixpt_t ccpu = 0.95122942450071400909 * FSCALE; 1130 0.9200444146293232 * FSCALE, /* exp(-1/12) */ 1131 0.9834714538216174 * FSCALE, /* exp(-1/60) */ 1132 0.9944598480048967 * FSCALE, /* exp(-1/180) */ 1215 lpctcpu += ((FSCALE - ccpu) * 1216 (lcpticks * FSCALE / clkhz)) >> FSHIFT; 1269 nrun * FSCALE * (FSCALE - cexp[i])) >> FSHIFT;
|
/netbsd-current/sys/arch/sgimips/dev/ |
H A D | ctl.c | 200 int ticks = ((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1);
|
/netbsd-current/sys/arch/sgimips/ioc/ |
H A D | ioc.c | 229 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1));
|
/netbsd-current/sys/arch/m68k/m68k/ |
H A D | db_disasm.h | 367 #undef FSCALE macro 368 #define FSCALE ENCFT(1,0,0,1,1,0) macro
|
/netbsd-current/sys/sys/ |
H A D | param.h | 490 #define FSCALE (1<<FSHIFT) macro
|
/netbsd-current/sys/arch/sgimips/mace/ |
H A D | mace.c | 359 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1));
|
/netbsd-current/sys/arch/sgimips/hpc/ |
H A D | hpc.c | 683 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1));
|
/netbsd-current/sys/arch/sparc/dev/ |
H A D | ebus.c | 548 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1));
|