Lines Matching refs:CPUInfo
216 CPUInfo::Scaling CpuScaling(int num_cpus) {
218 if (num_cpus <= 0) return CPUInfo::Scaling::UNKNOWN;
220 return CPUInfo::Scaling::UNKNOWN;
230 return CPUInfo::Scaling::ENABLED;
232 return CPUInfo::Scaling::DISABLED;
234 return CPUInfo::Scaling::UNKNOWN;
258 std::vector<CPUInfo::CacheInfo> GetCacheSizesFromKVFS() {
259 std::vector<CPUInfo::CacheInfo> res;
263 CPUInfo::CacheInfo info;
296 std::vector<CPUInfo::CacheInfo> GetCacheSizesMacOSX() {
297 std::vector<CPUInfo::CacheInfo> res;
313 CPUInfo::CacheInfo info;
323 std::vector<CPUInfo::CacheInfo> GetCacheSizesWindows() {
324 std::vector<CPUInfo::CacheInfo> res;
346 CPUInfo::CacheInfo C;
370 std::vector<CPUInfo::CacheInfo> GetCacheSizesQNX() {
371 std::vector<CPUInfo::CacheInfo> res;
376 CPUInfo::CacheInfo info;
407 std::vector<CPUInfo::CacheInfo> GetCacheSizes() {
415 return std::vector<CPUInfo::CacheInfo>();
626 double GetCPUCyclesPerSecond(CPUInfo::Scaling scaling) {
644 || (scaling == CPUInfo::Scaling::DISABLED &&
837 const CPUInfo& CPUInfo::Get() {
838 static const CPUInfo* info = new CPUInfo();
842 CPUInfo::CPUInfo()