Lines Matching refs:cpu_id
132 unsigned int cpu_id; member
220 if (cpu_is_not_present(t->cpu_id)) in for_all_cpus()
366 t->cpu_id, t->flags); in dump_counters()
457 outp += sprintf(outp, "%8d", t->cpu_id); in format_counters()
715 if (verbose > 1) fprintf(stderr, "cpu%d MPERF 0!\n", old->cpu_id); in delta_thread()
883 int cpu = t->cpu_id; in get_counters()
1322 if (cpu_is_not_present(t->cpu_id)) in for_all_cpus_2()
1534 cpu = t->cpu_id; in print_epb()
1665 cpu = t->cpu_id; in print_thermal()
1745 cpu = t->cpu_id; in print_rapl()
1954 cpu = t->cpu_id; in set_temperature_target()
2211 (*t)[i].cpu_id = -1; in allocate_counters()
2242 int pkg_num, int cpu_id) in init_counter() argument
2252 t->cpu_id = cpu_id; in init_counter()
2255 if (cpu_is_first_core_in_package(cpu_id)) in init_counter()
2264 int initialize_counters(int cpu_id) in initialize_counters() argument
2268 my_package_id = get_physical_package_id(cpu_id); in initialize_counters()
2269 my_core_id = get_core_id(cpu_id); in initialize_counters()
2271 if (cpu_is_first_sibling_in_core(cpu_id)) { in initialize_counters()
2278 init_counter(EVEN_COUNTERS, my_thread_id, my_core_id, my_package_id, cpu_id); in initialize_counters()
2279 init_counter(ODD_COUNTERS, my_thread_id, my_core_id, my_package_id, cpu_id); in initialize_counters()