Home
last modified time | relevance | path

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

/dragonfly/test/pcpu/
H A Dcpustat.c96 delta->cp_nice = new->cp_nice - old->cp_nice; 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.c194 diff_cp_time.cp_nice = cp_time.cp_nice - old_cp_time.cp_nice; in fetchpigs()
199 t = diff_cp_time.cp_user + diff_cp_time.cp_nice + in fetchpigs()
H A Diostat.c252 diff_cp_time.cp_nice = cp_time.cp_nice - old_cp_time.cp_nice; in showiostat()
259 cp_total = diff_cp_time.cp_user + diff_cp_time.cp_nice + in showiostat()
262 stat1(row++, diff_cp_time.cp_nice, cp_total); in showiostat()
H A Dvmstat.c441 offsetof(struct kinfo_cputime, cp_nice),
458 CP_UPDATE(cp_time.cp_nice); in showkre()
/dragonfly/usr.sbin/iostat/
H A Diostat.c484 diff_cp_time.cp_nice = cp_time.cp_nice - old_cp_time.cp_nice; in main()
488 cp_time_total = diff_cp_time.cp_user + diff_cp_time.cp_nice + in main()
710 printf(" %2.0f", 100. * diff_cp_time.cp_nice / cp_time_total); in cpustats()
/dragonfly/usr.bin/top/
H A Dm_dragonfly.c226 diffs.cp_nice = new->cp_nice - old->cp_nice; in cputime_percentages()
230 total_change = diffs.cp_user + diffs.cp_nice + diffs.cp_sys + in cputime_percentages()
233 old->cp_nice = new->cp_nice; in cputime_percentages()
246 out[1] = ((diffs.cp_nice * 1000LL + half_total) / total_change); in cputime_percentages()
/dragonfly/usr.bin/vmstat/
H A Dvmstat.c843 diff_cp_time.cp_nice = cp_time.cp_nice - old_cp_time.cp_nice; 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.c185 cpu_states[CP_NICE] += cputime_percpu[cpu].cp_nice; in sysctl_cp_time()
208 cpu_states[CP_NICE] = cputime_percpu[cpu].cp_nice; in sysctl_cp_times()
381 cpu_states[CP_NICE] += cputime_percpu[n].cp_nice; in collect_cputime_callback()
961 cpu_time.cp_nice += bump; in statclock()
1015 cpu_time.cp_nice += bump; in statclock()
/dragonfly/sys/sys/
H A Dkinfo.h78 uint64_t cp_nice; member
/dragonfly/libexec/rpc.rstatd/
H A Drstat_proc.c198 stats_all.s1.cp_time[1] = cp_time.cp_nice; in updatestat()
/dragonfly/usr.sbin/powerd/
H A Dpowerd.c555 ncpu_time[cpu].cp_nice + ncpu_time[cpu].cp_intr) - in get_cputime()
557 ocpu_time[cpu].cp_nice + ocpu_time[cpu].cp_intr); in get_cputime()