MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / cpu_model

Method cpu_model

src/common/cpuinfo/CpuInfo.cpp:531–538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529}
530
531CpuModel CpuInfo::cpu_model(uint32_t cpuid) const
532{
533 if (cpuid < _cpus.size())
534 {
535 return _cpus[cpuid];
536 }
537 return CpuModel::GENERIC;
538}
539
540CpuModel CpuInfo::cpu_model() const
541{

Callers 1

get_cpu_modelMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected