Home
last modified time | relevance | path

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

/freebsd-14.2/usr.bin/systat/
H A Dpigs.c117 fixpt_t ccpu; in initpigs() local
121 len = sizeof(ccpu); in initpigs()
122 err = sysctlbyname("kern.ccpu", &ccpu, &len, NULL, 0); in initpigs()
123 if (err || len != sizeof(ccpu)) { in initpigs()
135 lccpu = log((double) ccpu / fscale); in initpigs()
/freebsd-14.2/bin/ps/
H A Dnlist.c46 fixpt_t ccpu; /* kernel _ccpu variable */ variable
56 oldlen = sizeof(ccpu); in donlist()
57 if (sysctlbyname("kern.ccpu", &ccpu, &oldlen, NULL, 0) == -1) in donlist()
H A Dextern.h39 extern fixpt_t ccpu;
H A Dprint.c649 (1.0 - exp(k->ki_p->ki_swtime * log(fxtofl(ccpu))))); in getpcpu()
/freebsd-14.2/sys/powerpc/include/
H A Dcounter.h87 uint64_t ccpu, old; in counter_u64_add() local
96 : "=&b" (ccpu), "=&r" (old) in counter_u64_add()
/freebsd-14.2/sys/kern/
H A Dsched_4bsd.c437 static fixpt_t ccpu = 0.95122942450071400909 * FSCALE; /* exp(-1/20) */ variable
438 SYSCTL_UINT(_kern, OID_AUTO, ccpu, CTLFLAG_RD, &ccpu, 0,
503 ts->ts_pctcpu = (ts->ts_pctcpu * ccpu) >> FSHIFT; in schedcpu()
517 ts->ts_pctcpu += ((FSCALE - ccpu) * in schedcpu()
1655 delta = ((FSCALE - ccpu) * in sched_pctcpu_delta()
H A Dsched_ule.c3349 static int ccpu = 0; variable
3350 SYSCTL_INT(_kern, OID_AUTO, ccpu, CTLFLAG_RD, &ccpu, 0,
/freebsd-14.2/usr.bin/top/
H A Dmachine.c98 static load_avg ccpu; variable
318 GETSYSCTL("kern.ccpu", ccpu); in machine_init()
321 logcpu = log(loaddouble(ccpu)); in machine_init()