Searched refs:get_cpu_count_from_file (Results 1 – 1 of 1) sorted by relevance
61 static int get_cpu_count_from_file(char* filename);184 int cpu_count = get_cpu_count_from_file("/sys/devices/system/cpu/present"); in get_cpu_count()185 if (cpu_count != get_cpu_count_from_file("/sys/devices/system/cpu/online")) { in get_cpu_count()194 static int get_cpu_count_from_file(char* filename) { in get_cpu_count_from_file() function