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

/freebsd-10-stable/bin/ps/
H A Dnlist.c46 fixpt_t ccpu; /* kernel _ccpu variable */ variable
56 oldlen = sizeof(ccpu);
57 if (sysctlbyname("kern.ccpu", &ccpu, &oldlen, NULL, 0) == -1)
H A Dextern.h38 extern fixpt_t ccpu;
H A Dprint.c638 (1.0 - exp(k->ki_p->ki_swtime * log(fxtofl(ccpu)))));
/freebsd-10-stable/usr.bin/systat/
H A Dpigs.c117 fixpt_t ccpu; local
121 len = sizeof(ccpu);
122 err = sysctlbyname("kern.ccpu", &ccpu, &len, NULL, 0);
123 if (err || len != sizeof(ccpu)) {
124 perror("kern.ccpu");
135 lccpu = log((double) ccpu / fscale);
/freebsd-10-stable/sys/powerpc/include/
H A Dcounter.h87 uint64_t ccpu, old; local
96 : "=&b" (ccpu), "=&r" (old)
/freebsd-10-stable/sys/kern/
H A Dsched_4bsd.c431 static fixpt_t ccpu = 0.95122942450071400909 * FSCALE; /* exp(-1/20) */ variable
432 SYSCTL_UINT(_kern, OID_AUTO, ccpu, CTLFLAG_RD, &ccpu, 0, "");
435 * If `ccpu' is not equal to `exp(-1/20)' and you still want to use the
496 ts->ts_pctcpu = (ts->ts_pctcpu * ccpu) >> FSHIFT;
510 ts->ts_pctcpu += ((FSCALE - ccpu) *
1592 delta = ((FSCALE - ccpu) *
H A Dsched_ule.c2920 static int ccpu = 0; variable
2921 SYSCTL_INT(_kern, OID_AUTO, ccpu, CTLFLAG_RD, &ccpu, 0, "");
/freebsd-10-stable/usr.bin/top/
H A Dmachine.c146 static load_avg ccpu; variable
325 GETSYSCTL("kern.ccpu", ccpu);
328 logcpu = log(loaddouble(ccpu));

Completed in 85 milliseconds