Home | History | Annotate | Download | only in src

Lines Matching full:cpu_num

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