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