• Home
  • Raw
  • Download

Lines Matching full:cpuinfo

252 std::vector<CPUInfo::CacheInfo> GetCacheSizesFromKVFS() {  in GetCacheSizesFromKVFS()
253 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesFromKVFS()
257 CPUInfo::CacheInfo info; in GetCacheSizesFromKVFS()
290 std::vector<CPUInfo::CacheInfo> GetCacheSizesMacOSX() { in GetCacheSizesMacOSX()
291 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesMacOSX()
307 CPUInfo::CacheInfo info; in GetCacheSizesMacOSX()
317 std::vector<CPUInfo::CacheInfo> GetCacheSizesWindows() { in GetCacheSizesWindows()
318 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesWindows()
340 CPUInfo::CacheInfo C; in GetCacheSizesWindows()
366 std::vector<CPUInfo::CacheInfo> GetCacheSizesQNX() { in GetCacheSizesQNX()
367 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesQNX()
372 CPUInfo::CacheInfo info; in GetCacheSizesQNX()
401 std::vector<CPUInfo::CacheInfo> GetCacheSizes() { in GetCacheSizes()
473 std::ifstream f("/proc/cpuinfo"); in GetNumCPUs()
475 std::cerr << "failed to open /proc/cpuinfo\n"; in GetNumCPUs()
485 // s390 has another format in /proc/cpuinfo in GetNumCPUs()
500 std::cerr << "Failure reading /proc/cpuinfo\n"; in GetNumCPUs()
504 std::cerr << "Failed to read to end of /proc/cpuinfo\n"; in GetNumCPUs()
511 "CPU ID assignments in /proc/cpuinfo seem messed up." in GetNumCPUs()
527 // cannot always be relied upon. The same reasons apply to /proc/cpuinfo as in GetCPUCyclesPerSecond()
542 std::ifstream f("/proc/cpuinfo"); in GetCPUCyclesPerSecond()
544 std::cerr << "failed to open /proc/cpuinfo\n"; in GetCPUCyclesPerSecond()
578 std::cerr << "Failure reading /proc/cpuinfo\n"; in GetCPUCyclesPerSecond()
582 std::cerr << "Failed to read to end of /proc/cpuinfo\n"; in GetCPUCyclesPerSecond()
650 return static_cast<double>((int64_t)(SYSPAGE_ENTRY(cpuinfo)->speed) * in GetCPUCyclesPerSecond()
680 const CPUInfo& CPUInfo::Get() { in Get()
681 static const CPUInfo* info = new CPUInfo(); in Get()
685 CPUInfo::CPUInfo() in CPUInfo() function in benchmark::CPUInfo