Searched refs:FSCALE (Results 1 - 25 of 32) sorted by relevance

12

/netbsd-current/external/bsd/top/dist/
H A Dloadavg.h48 * 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 Drstat.x36 %#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 Dnlist.c109 #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 Dgetloadavg.c84 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 Drstat_proc.c75 #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 Drup.c56 #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 Duvm_init.c103 averunnable.fscale = FSCALE;
/netbsd-current/sys/rump/librump/rumpkern/
H A Demul.c110 { 0 * FSCALE,
111 1 * FSCALE,
112 11 * FSCALE, },
113 FSCALE,
/netbsd-current/sys/conf/
H A Dparam.c122 int fscale = FSCALE; /* kernel uses `FSCALE', user uses `fscale' */
/netbsd-current/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
86 #endif /* FSCALE */
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
141 #endif /* FSCALE */
143 #define loaddouble(la) ((double)(la) / FSCALE)
H A Dm_macosx.c109 #define pctdouble(p) ((double)(p) / FSCALE)
/netbsd-current/sys/arch/sparc/sparc/
H A Dauxreg.c95 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1));
/netbsd-current/sys/arch/sparc64/dev/
H A Dauxio.c114 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1));
/netbsd-current/sys/kern/
H A Dsched_4bsd.c285 return estcpu * loadfac / (loadfac + FSCALE);
289 return (uint64_t)estcpu * loadfac / (loadfac + FSCALE);
H A Dkern_synch.c1123 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 Dctl.c200 int ticks = ((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1);
/netbsd-current/sys/arch/sgimips/ioc/
H A Dioc.c229 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1));
/netbsd-current/sys/arch/m68k/m68k/
H A Ddb_disasm.h367 #undef FSCALE macro
368 #define FSCALE ENCFT(1,0,0,1,1,0) macro
/netbsd-current/sys/sys/
H A Dparam.h490 #define FSCALE (1<<FSHIFT) macro
/netbsd-current/sys/arch/sgimips/mace/
H A Dmace.c359 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1));
/netbsd-current/sys/arch/sgimips/hpc/
H A Dhpc.c683 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1));
/netbsd-current/sys/arch/sparc/dev/
H A Debus.c548 s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1));

Completed in 245 milliseconds

12