| 395 | } |
| 396 | |
| 397 | const CpuInfo* CpuInfo::GetInstance() { |
| 398 | static const CpuInfo cpu_info; |
| 399 | return &cpu_info; |
| 400 | } |
| 401 | |
| 402 | int64_t CpuInfo::CacheSize(CacheLevel level) const { |
| 403 | constexpr auto kDefaultCacheSizes = std::array<int64_t, 3>{ |
nothing calls this directly
no outgoing calls
no test coverage detected