Searched refs:ccpu (Results 1 – 8 of 8) sorted by relevance
/freebsd/usr.bin/systat/ |
H A D | pigs.c | 111 fixpt_t ccpu; in initpigs() local 115 len = sizeof(ccpu); in initpigs() 116 err = sysctlbyname("kern.ccpu", &ccpu, &len, NULL, 0); in initpigs() 117 if (err || len != sizeof(ccpu)) { in initpigs() 129 lccpu = log((double) ccpu / fscale); in initpigs()
|
/freebsd/bin/ps/ |
H A D | nlist.c | 39 fixpt_t ccpu; /* kernel _ccpu variable */ variable 49 oldlen = sizeof(ccpu); in donlist() 50 if (sysctlbyname("kern.ccpu", &ccpu, &oldlen, NULL, 0) == -1) in donlist()
|
H A D | extern.h | 37 extern fixpt_t ccpu;
|
H A D | print.c | 639 (1.0 - exp(k->ki_p->ki_swtime * log(fxtofl(ccpu))))); in getpcpu()
|
/freebsd/sys/powerpc/include/ |
H A D | counter.h | 87 uint64_t ccpu, old; in counter_u64_add() local 96 : "=&b" (ccpu), "=&r" (old) in counter_u64_add()
|
/freebsd/sys/kern/ |
H A D | sched_4bsd.c | 437 static fixpt_t ccpu = 0.95122942450071400909 * FSCALE; /* exp(-1/20) */ variable 438 SYSCTL_UINT(_kern, OID_AUTO, ccpu, CTLFLAG_RD, &ccpu, 0, 442 * If `ccpu' is not equal to `exp(-1/20)' and you still want to use the 503 ts->ts_pctcpu = (ts->ts_pctcpu * ccpu) >> FSHIFT; in schedcpu() 517 ts->ts_pctcpu += ((FSCALE - ccpu) * in schedcpu() 1652 delta = ((FSCALE - ccpu) * in sched_pctcpu_delta()
|
H A D | sched_ule.c | 3346 static int ccpu = 0; 3347 SYSCTL_INT(_kern, OID_AUTO, ccpu, CTLFLAG_RD, &ccpu, 0, 3349 static int ccpu = 0; global() variable
|
/freebsd/usr.bin/top/ |
H A D | machine.c | 98 static load_avg ccpu; variable 318 GETSYSCTL("kern.ccpu", ccpu); in machine_init() 321 logcpu = log(loaddouble(ccpu)); in machine_init()
|