Searched refs:ReadIntFromFile (Results 1 – 1 of 1) sorted by relevance
72 bool ReadIntFromFile(const char* file, long* value) { in ReadIntFromFile() function106 ReadIntFromFile("/sys/devices/system/cpu/cpu0/tsc_freq_khz", &freq)) { in InitializeSystemInfo()116 ReadIntFromFile("/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", in InitializeSystemInfo()