Searched refs:ccpu (Results 1 – 9 of 9) sorted by relevance
| /netbsd-src/usr.bin/systat/ |
| H A D | pigs.c | 147 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 D | m_hpux7.c | 172 static load_avg ccpu; variable 309 (void) getkval(nlst[X_CCPU].n_value, (int *)(&ccpu), sizeof(ccpu), 336 logcpu = log(loaddouble(ccpu));
|
| H A D | m_hpux8.c | 181 static load_avg ccpu; variable 281 (void) getkval(nlst[X_CCPU].n_value, (int *)(&ccpu), sizeof(ccpu), 297 logcpu = log(loaddouble(ccpu));
|
| H A D | m_sunos4.c | 194 static load_avg ccpu; variable 343 (void) getkval(nlst[X_CCPU].n_value, (int *)(&ccpu), sizeof(ccpu), 368 logcpu = log(loaddouble(ccpu));
|
| H A D | m_hpux9.c | 193 static load_avg ccpu; variable 293 (void) getkval(nlst[X_CCPU].n_value, (int *)(&ccpu), sizeof(ccpu), 309 logcpu = log(loaddouble(ccpu));
|
| H A D | m_netbsd.c | 146 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 D | m_decosf1.c | 178 static load_avg ccpu; variable
|
| /netbsd-src/sys/kern/ |
| H A D | kern_synch.c | 1123 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 D | init_sysctl.c | 148 extern fixpt_t ccpu; /* defined in kern/kern_synch.c */ 372 NULL, 0, &ccpu, 0,
|