Lines Matching refs:cpu_id
166 unsigned int cpu_id; member
263 if (cpu_is_not_present(t->cpu_id)) in for_all_cpus()
440 t->cpu_id, t->flags); in dump_counters()
542 outp += sprintf(outp, "%8d", t->cpu_id); in format_counters()
864 fprintf(outf, "cpu%d MPERF 0!\n", old->cpu_id); in delta_thread()
1073 int cpu = t->cpu_id; in get_counters()
1828 if (cpu_is_not_present(t->cpu_id)) in for_all_cpus_2()
2365 cpu = t->cpu_id; in print_epb()
2409 cpu = t->cpu_id; in print_hwp()
2497 cpu = t->cpu_id; in print_perf_limit()
2739 cpu = t->cpu_id; in print_thermal()
2819 cpu = t->cpu_id; in print_rapl()
3100 cpu = t->cpu_id; in set_temperature_target()
3526 (*t)[i].cpu_id = -1; in allocate_counters()
3557 int pkg_num, int cpu_id) in init_counter() argument
3567 t->cpu_id = cpu_id; in init_counter()
3570 if (cpu_is_first_core_in_package(cpu_id)) in init_counter()
3579 int initialize_counters(int cpu_id) in initialize_counters() argument
3583 my_package_id = get_physical_package_id(cpu_id); in initialize_counters()
3584 my_core_id = get_core_id(cpu_id); in initialize_counters()
3585 my_thread_id = get_cpu_position_in_core(cpu_id); in initialize_counters()
3589 init_counter(EVEN_COUNTERS, my_thread_id, my_core_id, my_package_id, cpu_id); in initialize_counters()
3590 init_counter(ODD_COUNTERS, my_thread_id, my_core_id, my_package_id, cpu_id); in initialize_counters()