Lines Matching refs:c2
218 print_cpu(struct cpu_snapshot *c1, struct cpu_snapshot *c2) in print_cpu() argument
225 if (display_pset != -1 && display_pset != c2->cs_pset_id) in print_cpu()
242 if (!CPU_ACTIVE(c2)) in print_cpu()
245 ticks = cpu_ticks_delta(old_sys, &c2->cs_sys); in print_cpu()
255 c2->cs_id, in print_cpu()
256 (kstat_delta(old_vm, &c2->cs_vm, "hat_fault") + in print_cpu()
257 kstat_delta(old_vm, &c2->cs_vm, "as_fault")) / etime, in print_cpu()
258 kstat_delta(old_vm, &c2->cs_vm, "maj_fault") / etime, in print_cpu()
259 kstat_delta(old_sys, &c2->cs_sys, "xcalls") / etime, in print_cpu()
260 kstat_delta(old_sys, &c2->cs_sys, "intr") / etime, in print_cpu()
261 kstat_delta(old_sys, &c2->cs_sys, "intrthread") / etime, in print_cpu()
262 kstat_delta(old_sys, &c2->cs_sys, "pswitch") / etime, in print_cpu()
263 kstat_delta(old_sys, &c2->cs_sys, "inv_swtch") / etime, in print_cpu()
264 kstat_delta(old_sys, &c2->cs_sys, "cpumigrate") / etime, in print_cpu()
265 kstat_delta(old_sys, &c2->cs_sys, "mutex_adenters") / etime, in print_cpu()
266 (kstat_delta(old_sys, &c2->cs_sys, "rw_rdfails") + in print_cpu()
267 kstat_delta(old_sys, &c2->cs_sys, "rw_wrfails")) / etime, in print_cpu()
268 kstat_delta(old_sys, &c2->cs_sys, "syscall") / etime, in print_cpu()
269 kstat_delta(old_sys, &c2->cs_sys, "cpu_ticks_user") * percent, in print_cpu()
270 kstat_delta(old_sys, &c2->cs_sys, "cpu_ticks_kernel") * percent, in print_cpu()
271 kstat_delta(old_sys, &c2->cs_sys, "cpu_ticks_wait") * percent, in print_cpu()
272 kstat_delta(old_sys, &c2->cs_sys, "cpu_ticks_idle") * percent); in print_cpu()
275 (void) printf(" %3d", c2->cs_pset_id); in print_cpu()
284 struct cpu_snapshot *c2 = (struct cpu_snapshot *)v2; in compare_cpu() local
286 if (c2 == NULL) in compare_cpu()
289 print_cpu(c1, c2); in compare_cpu()