Lines Matching refs:cpu_num
153 get_cpu_counters(int cpu_num, cpu_time_counters_t *counters) in get_cpu_counters() argument
162 ksp = kstat_lookup(kc, "cpu", lib_cpu_map[cpu_num], "sys"); in get_cpu_counters()
177 counters[cpu_num].idle = knp->value.ui64; in get_cpu_counters()
181 counters[cpu_num].user = knp->value.ui64; in get_cpu_counters()
185 counters[cpu_num].kernel = knp->value.ui64; in get_cpu_counters()
237 cpu_num, in get_cpu_counters()
238 lib_cpu_map[cpu_num], in get_cpu_counters()
247 get_interrupt_counters(int cpu_num, cpu_time_counters_t *counters) in get_interrupt_counters() argument
255 ksp = kstat_lookup(kc, "cpu", lib_cpu_map[cpu_num], "intrstat"); in get_interrupt_counters()
257 counters[cpu_num].interrupt = 0; in get_interrupt_counters()
271 counters[cpu_num].interrupt += knp->value.ui64; in get_interrupt_counters()
310 cpu_num, in get_interrupt_counters()
311 lib_cpu_map[cpu_num], in get_interrupt_counters()