Searched refs:parse_int_file (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.15/tools/power/x86/intel-speed-select/ |
D | isst-config.c | 176 static int parse_int_file(int fatal, const char *fmt, ...) in parse_int_file() function 274 cpu_top.core_id = parse_int_file(0, in store_cpu_topology() 279 cpu_top.pkg_id = parse_int_file(0, in store_cpu_topology() 284 cpu_top.die_id = parse_int_file(0, in store_cpu_topology() 304 ret = parse_int_file(0, in get_physical_package_id() 322 ret = parse_int_file(0, in get_physical_core_id() 340 ret = parse_int_file(0, in get_physical_die_id() 363 return parse_int_file(0, "/sys/devices/system/cpu/cpu%d/cpufreq/base_frequency", cpu); in get_cpufreq_base_freq() 429 online = parse_int_file( in for_each_online_package_in_set() 439 pkg_id = parse_int_file(0, in for_each_online_package_in_set() [all …]
|
/Linux-v5.15/tools/power/x86/turbostat/ |
D | turbostat.c | 2773 int parse_int_file(const char *fmt, ...) in parse_int_file() function 2798 return cpu == parse_int_file("/sys/devices/system/cpu/cpu%d/topology/core_siblings_list", cpu); in cpu_is_first_core_in_package() 2803 return parse_int_file("/sys/devices/system/cpu/cpu%d/topology/physical_package_id", cpu); in get_physical_package_id() 2808 return parse_int_file("/sys/devices/system/cpu/cpu%d/topology/die_id", cpu); in get_die_id() 2813 return parse_int_file("/sys/devices/system/cpu/cpu%d/topology/core_id", cpu); in get_core_id()
|