CacheInfo
struct
Information about the CPU cache hierarchy
Include
#include "NKPlatform/NkCPUFeatures.h"Namespace
nkentseu::platformLink (Jenga)
nkentseudependson(["NKPlatform"])C++
struct CacheInfoHierarchy
Base classes : none. Derived classes : none.
Members · 6
lineSize | Size of a cache line in bytes |
l1DataSize | L1 data cache size in KB |
l1InstructionSize | L1 instruction cache size in KB |
l2Size | L2 cache size in KB |
l3Size | L3 cache size in KB |
CacheInfo | Default constructor with conservative values |
Member details
int32_t lineSize
Size of a cache line in bytes
Source : NkCPUFeatures.h, line 81
int32_t l1DataSize
L1 data cache size in KB
Source : NkCPUFeatures.h, line 86
int32_t l1InstructionSize
L1 instruction cache size in KB
Source : NkCPUFeatures.h, line 91
int32_t l2Size
L2 cache size in KB
Source : NkCPUFeatures.h, line 96
int32_t l3Size
L3 cache size in KB
Source : NkCPUFeatures.h, line 101
CacheInfo()
Default constructor with conservative values
Source : NkCPUFeatures.h, line 106