Searched refs:CPUInfo (Results 1 – 14 of 14) sorted by relevance
215 CPUInfo::Scaling CpuScaling(int num_cpus) { in CpuScaling()217 if (num_cpus <= 0) return CPUInfo::Scaling::UNKNOWN; in CpuScaling()219 return CPUInfo::Scaling::UNKNOWN; in CpuScaling()229 return CPUInfo::Scaling::ENABLED; in CpuScaling()231 return CPUInfo::Scaling::DISABLED; in CpuScaling()233 return CPUInfo::Scaling::UNKNOWN; in CpuScaling()257 std::vector<CPUInfo::CacheInfo> GetCacheSizesFromKVFS() { in GetCacheSizesFromKVFS()258 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesFromKVFS()262 CPUInfo::CacheInfo info; in GetCacheSizesFromKVFS()295 std::vector<CPUInfo::CacheInfo> GetCacheSizesMacOSX() { in GetCacheSizesMacOSX()[all …]
47 const CPUInfo &info = context.cpu_info; in PrintBasicContext()76 if (CPUInfo::Scaling::ENABLED == info.scaling) { in PrintBasicContext()92 : cpu_info(CPUInfo::Get()), sys_info(SystemInfo::Get()) {} in Context()
139 CPUInfo const& info = context.cpu_info; in ReportContext()146 if (CPUInfo::Scaling::UNKNOWN != info.scaling) { in ReportContext()149 info.scaling == CPUInfo::Scaling::ENABLED ? true : false) in ReportContext()
451 thread_counts_.push_back(CPUInfo::Get().num_cpus); in ThreadPerCpu()
206 int CPUInfo[4]; \207 __cpuid(CPUInfo, func); \208 a = CPUInfo[0]; \209 b = CPUInfo[1]; \210 c = CPUInfo[2]; \211 d = CPUInfo[3]; \
142 union CPUInfo { union157 static_assert(sizeof(CPUInfo) == 24, "");178 CPUInfo CPU;
259 LLVM_YAML_DECLARE_MAPPING_TRAITS(llvm::minidump::CPUInfo::ArmInfo)260 LLVM_YAML_DECLARE_MAPPING_TRAITS(llvm::minidump::CPUInfo::OtherInfo)261 LLVM_YAML_DECLARE_MAPPING_TRAITS(llvm::minidump::CPUInfo::X86Info)
163 void yaml::MappingTraits<CPUInfo::ArmInfo>::mapping(IO &IO, in mapping()164 CPUInfo::ArmInfo &Info) { in mapping()199 void yaml::MappingTraits<CPUInfo::OtherInfo>::mapping( in mapping()200 IO &IO, CPUInfo::OtherInfo &Info) { in mapping()235 void yaml::MappingTraits<CPUInfo::X86Info>::mapping(IO &IO, in mapping()236 CPUInfo::X86Info &Info) { in mapping()
1457 struct CPUInfo { struct1473 static const CPUInfo& Get(); argument1476 CPUInfo();1477 BENCHMARK_DISALLOW_COPY_AND_ASSIGN(CPUInfo);1515 CPUInfo const& cpu_info;
20 The `shlwapi` library (`-lshlwapi`) is required to support a call to `CPUInfo` which reads the regi…
33 auto const& Info = benchmark::CPUInfo::Get(); in AddContextCases()
333 int CPUInfo[4]; in get_cpu_features() local334 __cpuid(CPUInfo, 1); in get_cpu_features()335 features = (sljit_u32)CPUInfo[3]; in get_cpu_features()
795 8fda5612 Merge "add a kSlowSSSE3 feature for CPUInfo"796 86bbd245 add a kSlowSSSE3 feature for CPUInfo
590 8fda5612 Merge "add a kSlowSSSE3 feature for CPUInfo"591 86bbd245 add a kSlowSSSE3 feature for CPUInfo