23 #ifndef INCLUDED_X86_X64_CACHE
24 #define INCLUDED_X86_X64_CACHE
144 #endif // #ifndef INCLUDED_X86_X64_CACHE
const x86_x64::Cache * Caches(size_t idxCache)
static const size_t fullyAssociative
#define ENSURE(expr)
ensure the expression <expr> evaluates to non-zero.
size_t sharedBy
how many logical processors share this cache?
static const size_t maxLevels
void Initialize(size_t level, Type type)
size_t numEntries
if 0, the cache is disabled and all other values are zero
size_t associativity
= fullyAssociative or the actual ways of associativity
size_t entrySize
NB: cache entries are lines, TLB entries are pages.