Searched refs:ccpu (Results 1 – 8 of 8) sorted by relevance
| /freebsd-12.1/usr.bin/systat/ |
| H A D | pigs.c | 119 fixpt_t ccpu; in initpigs() local 123 len = sizeof(ccpu); in initpigs() 124 err = sysctlbyname("kern.ccpu", &ccpu, &len, NULL, 0); in initpigs() 125 if (err || len != sizeof(ccpu)) { in initpigs() 137 lccpu = log((double) ccpu / fscale); in initpigs()
|
| /freebsd-12.1/bin/ps/ |
| H A D | nlist.c | 48 fixpt_t ccpu; /* kernel _ccpu variable */ variable 58 oldlen = sizeof(ccpu); in donlist() 59 if (sysctlbyname("kern.ccpu", &ccpu, &oldlen, NULL, 0) == -1) in donlist()
|
| H A D | extern.h | 40 extern fixpt_t ccpu;
|
| H A D | print.c | 638 (1.0 - exp(k->ki_p->ki_swtime * log(fxtofl(ccpu))))); in getpcpu()
|
| /freebsd-12.1/sys/powerpc/include/ |
| H A D | counter.h | 91 uint64_t ccpu, old; in counter_u64_add() local 100 : "=&b" (ccpu), "=&r" (old) in counter_u64_add()
|
| /freebsd-12.1/sys/kern/ |
| H A D | sched_4bsd.c | 436 static fixpt_t ccpu = 0.95122942450071400909 * FSCALE; /* exp(-1/20) */ variable 437 SYSCTL_UINT(_kern, OID_AUTO, ccpu, CTLFLAG_RD, &ccpu, 0, ""); 501 ts->ts_pctcpu = (ts->ts_pctcpu * ccpu) >> FSHIFT; in schedcpu() 515 ts->ts_pctcpu += ((FSCALE - ccpu) * in schedcpu() 1588 delta = ((FSCALE - ccpu) * in sched_pctcpu_delta()
|
| H A D | sched_ule.c | 3073 static int ccpu = 0; variable 3074 SYSCTL_INT(_kern, OID_AUTO, ccpu, CTLFLAG_RD, &ccpu, 0, "");
|
| /freebsd-12.1/usr.bin/top/ |
| H A D | machine.c | 99 static load_avg ccpu; variable 301 GETSYSCTL("kern.ccpu", ccpu); in machine_init() 304 logcpu = log(loaddouble(ccpu)); in machine_init()
|