Home
last modified time | relevance | path

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

/netbsd-src/usr.bin/systat/
H A Dpigs.c147 fixpt_t ccpu; in initpigs() local
156 len = sizeof(ccpu); in initpigs()
157 if (sysctlbyname("kern.ccpu", &ccpu, &len, NULL, 0)) in initpigs()
164 lccpu = log((double) ccpu / fscale); in initpigs()
/netbsd-src/external/bsd/top/dist/machine/
H A Dm_hpux7.c172 static load_avg ccpu; variable
309 (void) getkval(nlst[X_CCPU].n_value, (int *)(&ccpu), sizeof(ccpu),
336 logcpu = log(loaddouble(ccpu));
H A Dm_hpux8.c181 static load_avg ccpu; variable
281 (void) getkval(nlst[X_CCPU].n_value, (int *)(&ccpu), sizeof(ccpu),
297 logcpu = log(loaddouble(ccpu));
H A Dm_sunos4.c194 static load_avg ccpu; variable
343 (void) getkval(nlst[X_CCPU].n_value, (int *)(&ccpu), sizeof(ccpu),
368 logcpu = log(loaddouble(ccpu));
H A Dm_hpux9.c193 static load_avg ccpu; variable
293 (void) getkval(nlst[X_CCPU].n_value, (int *)(&ccpu), sizeof(ccpu),
309 logcpu = log(loaddouble(ccpu));
H A Dm_netbsd.c146 static int ccpu; variable
362 size = sizeof(ccpu);
363 if (sysctl(mib, 2, &ccpu, &size, NULL, 0) == -1) {
380 logcpu = log(loaddouble(ccpu));
H A Dm_decosf1.c178 static load_avg ccpu; variable
/netbsd-src/sys/kern/
H A Dkern_synch.c1123 const fixpt_t ccpu = 0.95122942450071400909 * FSCALE; variable
1209 l->l_pctcpu = (l->l_pctcpu * ccpu) >> FSHIFT; in sched_pstats()
1215 lpctcpu += ((FSCALE - ccpu) * in sched_pstats()
1220 p->p_pctcpu = (p->p_pctcpu * ccpu) >> FSHIFT; in sched_pstats()
H A Dinit_sysctl.c148 extern fixpt_t ccpu; /* defined in kern/kern_synch.c */
372 NULL, 0, &ccpu, 0,