Home
last modified time | relevance | path

Searched refs:CP_IDLE (Results 1 – 12 of 12) sorted by relevance

/openbsd-src/libexec/snmpd/snmpd_metrics/
H A Dtimer.c72 (cptime2[CP_IDLE] > 1000 ? in timer_cpu()
73 1000 : (cptime2[CP_IDLE] / 10)), (long long) tv.tv_sec); in timer_cpu()
H A Dmib.c636 (cptime2[CP_IDLE] > 1000 ? 1000 : (cptime2[CP_IDLE] / 10)); in mib_hrprocessor()
/openbsd-src/usr.bin/systat/
H A Dpigs.c194 procbase[nproc].p_pctcpu = (ctimes[CP_IDLE] - stime[CP_IDLE]) / t / pctdouble(1); in read_pg()
H A Dcpu.c234 print_fld_percentage(FLD_CPU_IDLE, _cs[CP_IDLE]);\
H A Dvmstat.c326 static char cpuorder[] = { CP_INTR, CP_SPIN, CP_SYS, CP_USER, CP_IDLE };
/openbsd-src/sys/arch/i386/i386/
H A Dapm.c558 if (call_apm_slow != curcpu()->ci_schedstate.spc_cp_time[CP_IDLE]) { in apm_cpu_slow()
567 call_apm_slow = curcpu()->ci_schedstate.spc_cp_time[CP_IDLE]; in apm_cpu_slow()
601 if (call_apm_idle != curcpu()->ci_schedstate.spc_cp_time[CP_IDLE]) { in apm_cpu_idle()
614 call_apm_idle = curcpu()->ci_schedstate.spc_cp_time[CP_IDLE]; in apm_cpu_idle()
/openbsd-src/sys/sys/
H A Dsched.h86 #define CP_IDLE 5 macro
/openbsd-src/sys/arch/hppa/hppa/
H A Dautoconf.c115 cp_idle = spc->spc_cp_time[CP_IDLE];
118 spc->spc_cp_time[CP_IDLE];
/openbsd-src/sys/kern/
H A Dkern_clock.c321 CP_SPIN : CP_IDLE] += count; in statclock()
H A Dsched_bsd.c613 idle = ci->ci_schedstate.spc_cp_time[CP_IDLE] - idleticks[j]; in setperf_auto()
/openbsd-src/libexec/rpc.rstatd/
H A Drstat_proc.c67 int cp_xlat[CPUSTATES] = { CP_USER, CP_NICE, CP_SYS, CP_IDLE };
/openbsd-src/usr.bin/vmstat/
H A Dvmstat.c648 (void)printf("%2.0f", cur.cp_time[CP_IDLE] * percent); in cpustats()