Home | History | Annotate | Download | only in netperf

Lines Matching refs:cpu_num

120 get_cpu_counters(int cpu_num, cpu_time_counters_t *counters)
129 ksp = kstat_lookup(kc, "cpu", cpu_num, "sys");
144 counters[cpu_num].idle = knp->value.ui64;
148 counters[cpu_num].user = knp->value.ui64;
152 counters[cpu_num].kernel = knp->value.ui64;
198 cpu_num,
207 get_interrupt_counters(int cpu_num, cpu_time_counters_t *counters)
215 ksp = kstat_lookup(kc, "cpu", cpu_num, "intrstat");
217 counters[cpu_num].interrupt = 0;
231 counters[cpu_num].interrupt += knp->value.ui64;
270 cpu_num,