Lines Matching defs:old_sys

223 	kstat_t *old_sys = NULL;
234 old_sys = &c1->cs_sys;
245 ticks = cpu_ticks_delta(old_sys, &c2->cs_sys);
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);
401 kstat_t old_sys;
411 old_vm.ks_data = old_sys.ks_data = NULL;
424 if (!agg_vm(p1, &old_vm) || !agg_sys(p1, &old_sys))
445 kstat_delta(&old_sys, &new_sys, "xcalls") / etime,
446 kstat_delta(&old_sys, &new_sys, "intr") / etime,
447 kstat_delta(&old_sys, &new_sys, "intrthread") / etime,
448 kstat_delta(&old_sys, &new_sys, "pswitch") / etime,
449 kstat_delta(&old_sys, &new_sys, "inv_swtch") / etime,
450 kstat_delta(&old_sys, &new_sys, "cpumigrate") / etime,
451 kstat_delta(&old_sys, &new_sys, "mutex_adenters") / etime,
452 (kstat_delta(&old_sys, &new_sys, "rw_rdfails") +
453 kstat_delta(&old_sys, &new_sys, "rw_wrfails")) / etime,
454 kstat_delta(&old_sys, &new_sys, "syscall") / etime,
455 kstat_delta(&old_sys, &new_sys, "cpu_ticks_user") * percent,
456 kstat_delta(&old_sys, &new_sys, "cpu_ticks_kernel") * percent,
457 kstat_delta(&old_sys, &new_sys, "cpu_ticks_wait") * percent,
458 kstat_delta(&old_sys, &new_sys, "cpu_ticks_idle") * percent,
463 free(old_sys.ks_data);