Lines Matching refs:CPUInfo
214 CPUInfo::Scaling CpuScaling(int num_cpus) { in CpuScaling()
216 if (num_cpus <= 0) return CPUInfo::Scaling::UNKNOWN; in CpuScaling()
218 return CPUInfo::Scaling::UNKNOWN; in CpuScaling()
228 if (ReadFromFile(governor_file, &res) && res != "performance") return CPUInfo::Scaling::ENABLED; in CpuScaling()
230 return CPUInfo::Scaling::DISABLED; in CpuScaling()
232 return CPUInfo::Scaling::UNKNOWN; in CpuScaling()
255 std::vector<CPUInfo::CacheInfo> GetCacheSizesFromKVFS() { in GetCacheSizesFromKVFS()
256 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesFromKVFS()
260 CPUInfo::CacheInfo info; in GetCacheSizesFromKVFS()
293 std::vector<CPUInfo::CacheInfo> GetCacheSizesMacOSX() { in GetCacheSizesMacOSX()
294 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesMacOSX()
310 CPUInfo::CacheInfo info; in GetCacheSizesMacOSX()
320 std::vector<CPUInfo::CacheInfo> GetCacheSizesWindows() { in GetCacheSizesWindows()
321 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesWindows()
343 CPUInfo::CacheInfo C; in GetCacheSizesWindows()
369 std::vector<CPUInfo::CacheInfo> GetCacheSizesQNX() { in GetCacheSizesQNX()
370 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesQNX()
375 CPUInfo::CacheInfo info; in GetCacheSizesQNX()
406 std::vector<CPUInfo::CacheInfo> GetCacheSizes() { in GetCacheSizes()
697 const CPUInfo& CPUInfo::Get() { in Get()
698 static const CPUInfo* info = new CPUInfo(); in Get()
702 CPUInfo::CPUInfo() in CPUInfo() function in benchmark::CPUInfo