Home
last modified time | relevance | path

Searched refs:cp_idle (Results 1 – 10 of 10) sorted by relevance

/dragonfly/test/pcpu/
H A Dcpustat.c99 delta->cp_idle = new->cp_idle - old->cp_idle; in cputime_get_diff()
106 cpt->cp_user + cpt->cp_nice + cpt->cp_sys + cpt->cp_intr + cpt->cp_idle); in cputime_get_total()
143 pct(delta.cp_intr), pct(delta.cp_idle)); in main()
/dragonfly/usr.bin/systat/
H A Dpigs.c197 diff_cp_time.cp_idle = cp_time.cp_idle - old_cp_time.cp_idle; in fetchpigs()
201 diff_cp_time.cp_idle; in fetchpigs()
205 pt[nproc].pt_pctcpu = diff_cp_time.cp_idle / t; in fetchpigs()
H A Diostat.c255 diff_cp_time.cp_idle = cp_time.cp_idle - old_cp_time.cp_idle; in showiostat()
260 diff_cp_time.cp_sys + diff_cp_time.cp_intr + diff_cp_time.cp_idle; in showiostat()
265 stat1(row++, diff_cp_time.cp_idle, cp_total); in showiostat()
H A Dvmstat.c442 offsetof(struct kinfo_cputime, cp_idle)
461 CP_UPDATE(cp_time.cp_idle); in showkre()
/dragonfly/usr.sbin/iostat/
H A Diostat.c487 diff_cp_time.cp_idle = cp_time.cp_idle - old_cp_time.cp_idle; in main()
490 diff_cp_time.cp_idle; in main()
713 printf(" %2.0f", 100. * diff_cp_time.cp_idle / cp_time_total); in cpustats()
/dragonfly/usr.bin/top/
H A Dm_dragonfly.c229 diffs.cp_idle = new->cp_idle - old->cp_idle; in cputime_percentages()
231 diffs.cp_intr + diffs.cp_idle; in cputime_percentages()
236 old->cp_idle = new->cp_idle; in cputime_percentages()
249 out[4] = ((diffs.cp_idle * 1000LL + half_total) / total_change); in cputime_percentages()
/dragonfly/usr.bin/vmstat/
H A Dvmstat.c846 diff_cp_time.cp_idle = cp_time.cp_idle - old_cp_time.cp_idle; in devstats()
879 diff_cp_time.cp_sys + diff_cp_time.cp_intr + diff_cp_time.cp_idle; in cpustats()
890 diff_cp_time.cp_idle * totusage); in cpustats()
/dragonfly/sys/sys/
H A Dkinfo.h81 uint64_t cp_idle; member
/dragonfly/sys/kern/
H A Dkern_clock.c188 cpu_states[CP_IDLE] += cputime_percpu[cpu].cp_idle; in sysctl_cp_time()
211 cpu_states[CP_IDLE] = cputime_percpu[cpu].cp_idle; in sysctl_cp_times()
384 cpu_states[CP_IDLE] += cputime_percpu[n].cp_idle; in collect_cputime_callback()
1043 cpu_time.cp_idle += bump; in statclock()
/dragonfly/libexec/rpc.rstatd/
H A Drstat_proc.c200 stats_all.s1.cp_time[3] = cp_time.cp_idle; in updatestat()