Home
last modified time | relevance | path

Searched refs:cpu_num (Results 1 – 4 of 4) sorted by relevance

/external/netperf/
Dnetcpu_kstat10.c120 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()
[all …]
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/
Dpowermetrics_power_monitor.py158 cpu_num = 0
163 base_out_path = ['component_utilization', 'cpu%d' % cpu_num]
172 cpu_num += 1
/external/stressapptest/src/
Dworker.h278 void set_cpu_mask_to_cpu(int cpu_num) { in set_cpu_mask_to_cpu() argument
279 cpuset_set_ab(&cpu_mask_, cpu_num, cpu_num + 1); in set_cpu_mask_to_cpu()
/external/qemu-pc-bios/bochs/bios/
Drombios32.c2568 unsigned cpu_num, nr_structs = 0, max_struct_size = 0; in smbios_init() local
2597 for (cpu_num = 1; cpu_num <= smp_cpus; cpu_num++) in smbios_init()
2598 add_struct(4, p, cpu_num); in smbios_init()