Home
last modified time | relevance | path

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

12

/external/libopus/celt/x86/
Dx86cpu.c47 static _inline void cpuid(unsigned int CPUInfo[4], unsigned int InfoType) in cpuid()
49 __cpuid((int*)CPUInfo, InfoType); in cpuid()
58 static void cpuid(unsigned int CPUInfo[4], unsigned int InfoType) in cpuid()
67 "=a" (CPUInfo[0]), in cpuid()
68 "=r" (CPUInfo[1]), in cpuid()
69 "=c" (CPUInfo[2]), in cpuid()
70 "=d" (CPUInfo[3]) : in cpuid()
76 "=a" (CPUInfo[0]), in cpuid()
77 "=b" (CPUInfo[1]), in cpuid()
78 "=c" (CPUInfo[2]), in cpuid()
[all …]
/external/google-benchmark/src/
Dsysinfo.cc214 CPUInfo::Scaling CpuScaling(int num_cpus) { in CpuScaling()
216 if (num_cpus <= 0) return CPUInfo::Scaling::UNKNOWN; in CpuScaling()
218 return CPUInfo::Scaling::UNKNOWN; in CpuScaling()
228 if (ReadFromFile(governor_file, &res) && res != "performance") return CPUInfo::Scaling::ENABLED; in CpuScaling()
230 return CPUInfo::Scaling::DISABLED; in CpuScaling()
232 return CPUInfo::Scaling::UNKNOWN; in CpuScaling()
255 std::vector<CPUInfo::CacheInfo> GetCacheSizesFromKVFS() { in GetCacheSizesFromKVFS()
256 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesFromKVFS()
260 CPUInfo::CacheInfo info; in GetCacheSizesFromKVFS()
293 std::vector<CPUInfo::CacheInfo> GetCacheSizesMacOSX() { in GetCacheSizesMacOSX()
[all …]
Dreporter.cc44 const CPUInfo &info = context.cpu_info; in PrintBasicContext()
67 if (CPUInfo::Scaling::ENABLED == info.scaling) { in PrintBasicContext()
83 : cpu_info(CPUInfo::Get()), sys_info(SystemInfo::Get()) {} in Context()
Djson_reporter.cc118 CPUInfo const& info = context.cpu_info; in ReportContext()
125 if (CPUInfo::Scaling::UNKNOWN != info.scaling) { in ReportContext()
126 …out << indent << FormatKV("cpu_scaling_enabled", info.scaling == CPUInfo::Scaling::ENABLED ? true … in ReportContext()
/external/llvm-project/llvm/utils/benchmark/src/
Dsysinfo.cc243 std::vector<CPUInfo::CacheInfo> GetCacheSizesFromKVFS() { in GetCacheSizesFromKVFS()
244 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesFromKVFS()
248 CPUInfo::CacheInfo info; in GetCacheSizesFromKVFS()
281 std::vector<CPUInfo::CacheInfo> GetCacheSizesMacOSX() { in GetCacheSizesMacOSX()
282 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesMacOSX()
298 CPUInfo::CacheInfo info; in GetCacheSizesMacOSX()
308 std::vector<CPUInfo::CacheInfo> GetCacheSizesWindows() { in GetCacheSizesWindows()
309 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesWindows()
331 CPUInfo::CacheInfo C; in GetCacheSizesWindows()
356 std::vector<CPUInfo::CacheInfo> GetCacheSizes() { in GetCacheSizes()
[all …]
Dreporter.cc43 const CPUInfo &info = context.cpu_info; in PrintBasicContext()
73 BenchmarkReporter::Context::Context() : cpu_info(CPUInfo::Get()) {} in Context()
/external/libcxx/utils/google-benchmark/src/
Dsysinfo.cc246 std::vector<CPUInfo::CacheInfo> GetCacheSizesFromKVFS() { in GetCacheSizesFromKVFS()
247 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesFromKVFS()
251 CPUInfo::CacheInfo info; in GetCacheSizesFromKVFS()
284 std::vector<CPUInfo::CacheInfo> GetCacheSizesMacOSX() { in GetCacheSizesMacOSX()
285 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesMacOSX()
301 CPUInfo::CacheInfo info; in GetCacheSizesMacOSX()
311 std::vector<CPUInfo::CacheInfo> GetCacheSizesWindows() { in GetCacheSizesWindows()
312 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesWindows()
334 CPUInfo::CacheInfo C; in GetCacheSizesWindows()
361 std::vector<CPUInfo::CacheInfo> GetCacheSizes() { in GetCacheSizes()
[all …]
Dreporter.cc44 const CPUInfo &info = context.cpu_info; in PrintBasicContext()
83 : cpu_info(CPUInfo::Get()), sys_info(SystemInfo::Get()) {} in Context()
/external/llvm-project/libcxx/utils/google-benchmark/src/
Dsysinfo.cc246 std::vector<CPUInfo::CacheInfo> GetCacheSizesFromKVFS() { in GetCacheSizesFromKVFS()
247 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesFromKVFS()
251 CPUInfo::CacheInfo info; in GetCacheSizesFromKVFS()
284 std::vector<CPUInfo::CacheInfo> GetCacheSizesMacOSX() { in GetCacheSizesMacOSX()
285 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesMacOSX()
301 CPUInfo::CacheInfo info; in GetCacheSizesMacOSX()
311 std::vector<CPUInfo::CacheInfo> GetCacheSizesWindows() { in GetCacheSizesWindows()
312 std::vector<CPUInfo::CacheInfo> res; in GetCacheSizesWindows()
334 CPUInfo::CacheInfo C; in GetCacheSizesWindows()
361 std::vector<CPUInfo::CacheInfo> GetCacheSizes() { in GetCacheSizes()
[all …]
Dreporter.cc44 const CPUInfo &info = context.cpu_info; in PrintBasicContext()
83 : cpu_info(CPUInfo::Get()), sys_info(SystemInfo::Get()) {} in Context()
/external/lzma/C/
DCpuArch.c108 int CPUInfo[4]; in MyCPUID()
109 __cpuid(CPUInfo, function); in MyCPUID()
110 *a = CPUInfo[0]; in MyCPUID()
111 *b = CPUInfo[1]; in MyCPUID()
112 *c = CPUInfo[2]; in MyCPUID()
113 *d = CPUInfo[3]; in MyCPUID()
/external/llvm-project/clang/lib/Basic/Targets/
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()
259 for (const SparcCPUInfo &Info : CPUInfo) in fillValidCPUList()
/external/compiler-rt/lib/scudo/
Dscudo_utils.cpp84 static CPUIDInfo CPUInfo = {}; in testCPUFeature() local
88 getCPUID(&CPUInfo, 1, 0); in testCPUFeature()
95 return ((CPUInfo.Ecx >> 20) & 0x1) != 0; in testCPUFeature()
/external/llvm-project/lldb/tools/intel-features/intel-pt/
DDecoder.h193 typedef struct pt_cpu CPUInfo; typedef
204 void ParseCPUInfo(CPUInfo &pt_cpu, lldb::SBStructuredData &s,
243 const CPUInfo &pt_cpu, Buffer &pt_buffer,
287 CPUInfo &GetCPUInfo() { return m_pt_cpu; } in GetCPUInfo()
307 CPUInfo m_pt_cpu; // cpu info of the target on which inferior is running
/external/llvm-project/libc/benchmarks/
DLibcBenchmark.cpp17 const auto &CpuInfo = benchmark::CPUInfo::Get(); in checkRequirements()
25 const auto &CpuInfo = benchmark::CPUInfo::Get(); in get()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DMinidump.h142 union CPUInfo { union
157 static_assert(sizeof(CPUInfo) == 24, "");
178 CPUInfo CPU;
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DMinidump.h142 union CPUInfo { union
157 static_assert(sizeof(CPUInfo) == 24, "");
178 CPUInfo CPU;
/external/llvm-project/llvm/include/llvm/ObjectYAML/
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)
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
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)
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
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()
/external/llvm-project/llvm/lib/ObjectYAML/
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()
/external/rust/crates/quiche/deps/boringssl/src/crypto/
Dcpu-arm-linux_test.cc22 TEST(ARMLinuxTest, CPUInfo) { in TEST() argument
/external/boringssl/src/crypto/
Dcpu-arm-linux_test.cc22 TEST(ARMLinuxTest, CPUInfo) { in TEST() argument
/external/llvm-project/llvm/utils/benchmark/include/benchmark/
Dbenchmark.h1236 struct CPUInfo { struct
1249 static const CPUInfo& Get(); argument
1252 CPUInfo();
1253 BENCHMARK_DISALLOW_COPY_AND_ASSIGN(CPUInfo);
1264 CPUInfo const& cpu_info;
/external/libcxx/utils/google-benchmark/include/benchmark/
Dbenchmark.h1275 struct CPUInfo { struct
1289 static const CPUInfo& Get(); argument
1292 CPUInfo();
1293 BENCHMARK_DISALLOW_COPY_AND_ASSIGN(CPUInfo);
1313 CPUInfo const& cpu_info;

12