Home
last modified time | relevance | path

Searched refs:CPUInfo (Results 1 - 12 of 12) sorted by relevance

/third_party/benchmark/src/
H A Dsysinfo.cc216 CPUInfo::Scaling CpuScaling(int num_cpus) { in CpuScaling()
218 if (num_cpus <= 0) return CPUInfo::Scaling::UNKNOWN; in CpuScaling()
220 return CPUInfo::Scaling::UNKNOWN; in CpuScaling()
230 return CPUInfo::Scaling::ENABLED; in CpuScaling()
232 return CPUInfo::Scaling::DISABLED; in CpuScaling()
234 return CPUInfo::Scaling::UNKNOWN; in CpuScaling()
258 std::vector<CPUInfo::CacheInfo> GetCacheSizesFromKVFS() { in GetCacheSizesFromKVFS()
259 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesFromKVFS()
263 CPUInfo::CacheInfo info; in GetCacheSizesFromKVFS()
296 std::vector<CPUInfo
842 CPUInfo::CPUInfo() CPUInfo() function in benchmark::CPUInfo
[all...]
H A Dreporter.cc48 const CPUInfo &info = context.cpu_info; in PrintBasicContext()
80 if (CPUInfo::Scaling::ENABLED == info.scaling) { in PrintBasicContext()
96 : cpu_info(CPUInfo::Get()), sys_info(SystemInfo::Get()) {} in Context()
H A Djson_reporter.cc129 CPUInfo const& info = context.cpu_info;
136 if (CPUInfo::Scaling::UNKNOWN != info.scaling) {
139 info.scaling == CPUInfo::Scaling::ENABLED ? true : false)
H A Dbenchmark_register.cc467 thread_counts_.push_back(CPUInfo::Get().num_cpus); in ThreadPerCpu()
/third_party/node/deps/v8/src/base/
H A Dcpu.cc241 class CPUInfo final {
243 CPUInfo() : datalen_(0) {
279 ~CPUInfo() {
463 // valid Ids in CPUInfo[0] and the CPU identification string in in CPU()
466 // in a human readable form. The human readable order is CPUInfo[1] | in CPU()
467 // CPUInfo[3] | CPUInfo[2]. CPUInfo[2] and CPUInfo[3] are swapped in CPU()
584 CPUInfo cpu_inf in CPU()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
H A DMinidump.h142 union CPUInfo { union
157 static_assert(sizeof(CPUInfo) == 24, "");
178 CPUInfo CPU;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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()
/third_party/lzma/C/
H A DCpuArch.c229 Z7_NO_INLINE void Z7_FASTCALL MY_cpuidex_HACK(UInt32 subFunction, UInt32 func, int *CPUInfo) in MY_cpuidex_HACK() argument
232 __cpuid(CPUInfo, func); in MY_cpuidex_HACK()
/third_party/benchmark/include/benchmark/
H A Dbenchmark.h1670 struct BENCHMARK_EXPORT CPUInfo { struct
1686 static const CPUInfo& Get();
1689 CPUInfo();
1690 BENCHMARK_DISALLOW_COPY_AND_ASSIGN(CPUInfo);
1729 CPUInfo const& cpu_info;
/third_party/pcre2/pcre2/src/sljit/
H A DsljitNativeX86_common.c342 int CPUInfo[4]; in get_cpu_features() local
344 __cpuid(CPUInfo, 0); in get_cpu_features()
345 if (CPUInfo[0] >= 7) { in get_cpu_features()
346 __cpuidex(CPUInfo, 7, 0); in get_cpu_features()
347 if (CPUInfo[1] & 0x8) in get_cpu_features()
351 __cpuid(CPUInfo, (int)0x80000001); in get_cpu_features()
352 if (CPUInfo[2] & 0x20) in get_cpu_features()
355 __cpuid(CPUInfo, 1); in get_cpu_features()
356 value = (sljit_u32)CPUInfo[3]; in get_cpu_features()
/third_party/benchmark/test/
H A Dreporter_output_test.cc33 auto const& Info = benchmark::CPUInfo::Get(); in AddContextCases()

Completed in 16 milliseconds