Home
last modified time | relevance | path

Searched refs:ccpu (Results 1 – 8 of 8) sorted by relevance

/freebsd-13.1/bin/ps/
H A Dnlist.c48 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 Dextern.h40 extern fixpt_t ccpu;
H A Dprint.c651 (1.0 - exp(k->ki_p->ki_swtime * log(fxtofl(ccpu))))); in getpcpu()
/freebsd-13.1/usr.bin/systat/
H A Dpigs.c119 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-13.1/sys/powerpc/include/
H A Dcounter.h89 uint64_t ccpu, old; in counter_u64_add() local
98 : "=&b" (ccpu), "=&r" (old) in counter_u64_add()
/freebsd-13.1/sys/kern/
H A Dsched_4bsd.c439 static fixpt_t ccpu = 0.95122942450071400909 * FSCALE; /* exp(-1/20) */ variable
440 SYSCTL_UINT(_kern, OID_AUTO, ccpu, CTLFLAG_RD, &ccpu, 0,
505 ts->ts_pctcpu = (ts->ts_pctcpu * ccpu) >> FSHIFT; in schedcpu()
519 ts->ts_pctcpu += ((FSCALE - ccpu) * in schedcpu()
1625 delta = ((FSCALE - ccpu) * in sched_pctcpu_delta()
H A Dsched_ule.c3225 static int ccpu = 0; variable
3226 SYSCTL_INT(_kern, OID_AUTO, ccpu, CTLFLAG_RD, &ccpu, 0,
/freebsd-13.1/usr.bin/top/
H A Dmachine.c99 static load_avg ccpu; variable
309 GETSYSCTL("kern.ccpu", ccpu); in machine_init()
312 logcpu = log(loaddouble(ccpu)); in machine_init()