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