Home
last modified time | relevance | path

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

/tools/power/x86/turbostat/
Dturbostat.c1924 int cpu_number; in snapshot_proc_interrupts() local
1926 retval = fscanf(fp, " CPU%d", &cpu_number); in snapshot_proc_interrupts()
1930 if (cpu_number > topo.max_cpu_num) { in snapshot_proc_interrupts()
1931 warn("/proc/interrupts: cpu%d: > %d", cpu_number, topo.max_cpu_num); in snapshot_proc_interrupts()
1935 irq_column_2_cpu[column] = cpu_number; in snapshot_proc_interrupts()
1936 irqs_per_cpu[cpu_number] = 0; in snapshot_proc_interrupts()
1951 int cpu_number, irq_count; in snapshot_proc_interrupts() local
1957 cpu_number = irq_column_2_cpu[column]; in snapshot_proc_interrupts()
1958 irqs_per_cpu[cpu_number] += irq_count; in snapshot_proc_interrupts()