Home
last modified time | relevance | path

Searched refs:cp_user (Results 1 – 11 of 11) sorted by relevance

/dragonfly/test/pcpu/
H A Dcpustat.c95 delta->cp_user = new->cp_user - old->cp_user; in cputime_get_diff()
106 cpt->cp_user + cpt->cp_nice + cpt->cp_sys + cpt->cp_intr + cpt->cp_idle); in cputime_get_total()
141 pct(delta.cp_user), pct(delta.cp_nice), in main()
/dragonfly/usr.bin/systat/
H A Dpigs.c193 diff_cp_time.cp_user = cp_time.cp_user - old_cp_time.cp_user; in fetchpigs()
199 t = diff_cp_time.cp_user + diff_cp_time.cp_nice + in fetchpigs()
H A Diostat.c251 diff_cp_time.cp_user = cp_time.cp_user - old_cp_time.cp_user; in showiostat()
259 cp_total = diff_cp_time.cp_user + diff_cp_time.cp_nice + in showiostat()
261 stat1(row++, diff_cp_time.cp_user, cp_total); in showiostat()
H A Dvmstat.c440 offsetof(struct kinfo_cputime, cp_user),
457 CP_UPDATE(cp_time.cp_user); in showkre()
/dragonfly/usr.sbin/iostat/
H A Diostat.c483 diff_cp_time.cp_user = cp_time.cp_user - old_cp_time.cp_user; in main()
488 cp_time_total = diff_cp_time.cp_user + diff_cp_time.cp_nice + in main()
709 printf(" %2.0f", 100. * diff_cp_time.cp_user / cp_time_total); in cpustats()
/dragonfly/usr.bin/top/
H A Dm_dragonfly.c225 diffs.cp_user = new->cp_user - old->cp_user; in cputime_percentages()
230 total_change = diffs.cp_user + diffs.cp_nice + diffs.cp_sys + in cputime_percentages()
232 old->cp_user = new->cp_user; in cputime_percentages()
245 out[0] = ((diffs.cp_user * 1000LL + half_total) / total_change); in cputime_percentages()
/dragonfly/usr.bin/vmstat/
H A Dvmstat.c842 diff_cp_time.cp_user = cp_time.cp_user - old_cp_time.cp_user; in devstats()
878 total = diff_cp_time.cp_user + diff_cp_time.cp_nice + in cpustats()
886 (diff_cp_time.cp_user + diff_cp_time.cp_nice) * totusage); in cpustats()
/dragonfly/sys/kern/
H A Dkern_clock.c184 cpu_states[CP_USER] += cputime_percpu[cpu].cp_user; in sysctl_cp_time()
207 cpu_states[CP_USER] = cputime_percpu[cpu].cp_user; in sysctl_cp_times()
380 cpu_states[CP_USER] += cputime_percpu[n].cp_user; in collect_cputime_callback()
963 cpu_time.cp_user += bump; in statclock()
1017 cpu_time.cp_user += bump; in statclock()
/dragonfly/sys/sys/
H A Dkinfo.h77 uint64_t cp_user; member
/dragonfly/libexec/rpc.rstatd/
H A Drstat_proc.c197 stats_all.s1.cp_time[0] = cp_time.cp_user; in updatestat()
/dragonfly/usr.sbin/powerd/
H A Dpowerd.c554 d = (ncpu_time[cpu].cp_user + ncpu_time[cpu].cp_sys + in get_cputime()
556 (ocpu_time[cpu].cp_user + ocpu_time[cpu].cp_sys + in get_cputime()