Home
last modified time | relevance | path

Searched refs:CPUInfo (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/third-party/benchmark/src/
H A Dsysinfo.cc219 return CPUInfo::Scaling::UNKNOWN; in CpuScaling()
231 return CPUInfo::Scaling::DISABLED; in CpuScaling()
233 return CPUInfo::Scaling::UNKNOWN; in CpuScaling()
258 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesFromKVFS()
262 CPUInfo::CacheInfo info; in GetCacheSizesFromKVFS()
312 CPUInfo::CacheInfo info; in GetCacheSizesMacOSX()
345 CPUInfo::CacheInfo C; in GetCacheSizesWindows()
375 CPUInfo::CacheInfo info; in GetCacheSizesQNX()
707 const CPUInfo& CPUInfo::Get() { in Get()
708 static const CPUInfo* info = new CPUInfo(); in Get()
[all …]
H A Dreporter.cc47 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()
H A Djson_reporter.cc139 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()
H A Dbenchmark_register.cc451 thread_counts_.push_back(CPUInfo::Get().num_cpus); in ThreadPerCpu()
/llvm-project-15.0.7/clang/lib/Basic/Targets/
H A DSparc.cpp67 static constexpr SparcCPUInfo CPUInfo[] = { variable
117 CPUInfo, [Kind](const SparcCPUInfo &Info) { return Info.Kind == Kind; }); in getCPUGeneration()
118 if (Item == std::end(CPUInfo)) in getCPUGeneration()
125 CPUInfo, [Name](const SparcCPUInfo &Info) { return Info.Name == Name; }); in getCPUKind()
127 if (Item == std::end(CPUInfo)) in getCPUKind()
134 for (const SparcCPUInfo &Info : CPUInfo) in fillValidCPUList()
257 for (const SparcCPUInfo &Info : CPUInfo) in fillValidCPUList()
/llvm-project-15.0.7/libc/benchmarks/
H A DLibcBenchmark.cpp17 const auto &CpuInfo = benchmark::CPUInfo::Get(); in checkRequirements()
18 if (CpuInfo.scaling == benchmark::CPUInfo::ENABLED) in checkRequirements()
25 const auto &CpuInfo = benchmark::CPUInfo::Get(); in get()
H A DLibcMemoryGoogleBenchmarkMain.cpp58 TotalBytes / benchmark::CPUInfo::Get().cycles_per_second, in ~Runner()
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DMinidump.h142 union CPUInfo { union
157 static_assert(sizeof(CPUInfo) == 24, "");
178 CPUInfo CPU;
/llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/
H A DMinidumpYAML.h259 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)
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DMinidumpYAML.cpp163 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()
/llvm-project-15.0.7/third-party/benchmark/include/benchmark/
H A Dbenchmark.h1457 struct CPUInfo { struct
1473 static const CPUInfo& Get(); argument
1476 CPUInfo();
1477 BENCHMARK_DISALLOW_COPY_AND_ASSIGN(CPUInfo);
1515 CPUInfo const& cpu_info;
/llvm-project-15.0.7/llvm/lib/Support/
H A DTargetParser.cpp258 struct CPUInfo { struct
266 constexpr CPUInfo RISCVCPUInfo[] = {
/llvm-project-15.0.7/third-party/benchmark/docs/
H A Dplatform_specific_build_instructions.md20 The `shlwapi` library (`-lshlwapi`) is required to support a call to `CPUInfo` which reads the regi…
/llvm-project-15.0.7/third-party/benchmark/test/
H A Dreporter_output_test.cc33 auto const& Info = benchmark::CPUInfo::Get(); in AddContextCases()