diff --git a/src/CpuInfo.cpp b/src/CpuInfo.cpp index 743ff964..a95bc567 100644 --- a/src/CpuInfo.cpp +++ b/src/CpuInfo.cpp @@ -202,10 +202,10 @@ void CpuInfo::init() if (cacheInfo.size() <= cpuCoreId) cacheInfo.resize((cpuCoreId + 1) * 2); - // If the CPU has multiple caches of the same level, then - // we are only interested in the first such cache since - // this is likely the fastest cache. Usually, all caches - // are ordered from fastest to slowest. + // If the CPU core has multiple caches of the same level, + // then we are only interested in the first such cache + // since this is likely the fastest cache. Usually, all + // caches are ordered from fastest to slowest. if (cacheInfo[cpuCoreId].cacheSizes[level] != 0) continue; @@ -300,10 +300,10 @@ void CpuInfo::init() { auto level = info[i].Cache.Level; - // If the CPU has multiple caches of the same level, then - // we are only interested in the first such cache since - // this is likely the fastest cache. Usually, all caches - // are ordered from fastest to slowest. + // If the CPU core has multiple caches of the same level, + // then we are only interested in the first such cache + // since this is likely the fastest cache. Usually, all + // caches are ordered from fastest to slowest. if (cacheSizes_[level] != 0) continue; @@ -712,10 +712,10 @@ void CpuInfo::init() if (level >= 1 && level <= 3) { - // If the CPU has multiple caches of the same level, then - // we are only interested in the first such cache since - // this is likely the fastest cache. Usually, all caches - // are ordered from fastest to slowest. + // If the CPU core has multiple caches of the same level, + // then we are only interested in the first such cache + // since this is likely the fastest cache. Usually, all + // caches are ordered from fastest to slowest. if (cacheSizes_[level] != 0) continue;