CACHE_DESCRIPTOR structure (winnt.h)
Describes the cache attributes.
Syntax
typedef struct _CACHE_DESCRIPTOR {
BYTE Level;
BYTE Associativity;
WORD LineSize;
DWORD Size;
PROCESSOR_CACHE_TYPE Type;
} CACHE_DESCRIPTOR, *PCACHE_DESCRIPTOR;
Members
Level
The cache level. This member can currently be one of the following values; other values may be supported in the future.
Value | Meaning |
---|---|
|
L1 |
|
L2 |
|
L3 |
Associativity
The cache associativity. If this member is CACHE_FULLY_ASSOCIATIVE (0xFF), the cache is fully associative.
LineSize
The cache line size, in bytes.
Size
The cache size, in bytes.
Type
The cache type. This member is a PROCESSOR_CACHE_TYPE value.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista, Windows XP Professional x64 Edition [desktop apps only] |
Minimum supported server | Windows Server 2008, Windows Server 2003 with SP1 [desktop apps only] |
Header | winnt.h (include Windows.h) |