• Home
  • Raw
  • Download

Lines Matching full:cpuinfo

246 std::vector<CPUInfo::CacheInfo> GetCacheSizesFromKVFS() {  in GetCacheSizesFromKVFS()
247 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesFromKVFS()
251 CPUInfo::CacheInfo info; in GetCacheSizesFromKVFS()
284 std::vector<CPUInfo::CacheInfo> GetCacheSizesMacOSX() { in GetCacheSizesMacOSX()
285 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesMacOSX()
301 CPUInfo::CacheInfo info; in GetCacheSizesMacOSX()
311 std::vector<CPUInfo::CacheInfo> GetCacheSizesWindows() { in GetCacheSizesWindows()
312 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesWindows()
334 CPUInfo::CacheInfo C; in GetCacheSizesWindows()
361 std::vector<CPUInfo::CacheInfo> GetCacheSizes() { in GetCacheSizes()
427 std::ifstream f("/proc/cpuinfo"); in GetNumCPUs()
429 std::cerr << "failed to open /proc/cpuinfo\n"; in GetNumCPUs()
439 // s390 has another format in /proc/cpuinfo in GetNumCPUs()
454 std::cerr << "Failure reading /proc/cpuinfo\n"; in GetNumCPUs()
458 std::cerr << "Failed to read to end of /proc/cpuinfo\n"; in GetNumCPUs()
465 "CPU ID assignments in /proc/cpuinfo seem messed up." in GetNumCPUs()
481 // cannot always be relied upon. The same reasons apply to /proc/cpuinfo as in GetCPUCyclesPerSecond()
496 std::ifstream f("/proc/cpuinfo"); in GetCPUCyclesPerSecond()
498 std::cerr << "failed to open /proc/cpuinfo\n"; in GetCPUCyclesPerSecond()
532 std::cerr << "Failure reading /proc/cpuinfo\n"; in GetCPUCyclesPerSecond()
536 std::cerr << "Failed to read to end of /proc/cpuinfo\n"; in GetCPUCyclesPerSecond()
631 const CPUInfo& CPUInfo::Get() { in Get()
632 static const CPUInfo* info = new CPUInfo(); in Get()
636 CPUInfo::CPUInfo() in CPUInfo() function in benchmark::CPUInfo