Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Describes cache attributes. This structure is used with the GetLogicalProcessorInformationEx function.
Syntax
typedef struct _CACHE_RELATIONSHIP {
BYTE Level;
BYTE Associativity;
WORD LineSize;
DWORD CacheSize;
PROCESSOR_CACHE_TYPE Type;
BYTE Reserved[18];
WORD GroupCount;
union {
GROUP_AFFINITY GroupMask;
GROUP_AFFINITY GroupMasks[ANYSIZE_ARRAY];
} DUMMYUNIONNAME;
} CACHE_RELATIONSHIP, *PCACHE_RELATIONSHIP;
Members
Level
The cache level. This member can be one of the following values.
| 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.
CacheSize
The cache size, in bytes.
Type
The cache type. This member is a PROCESSOR_CACHE_TYPE value.
Reserved[18]
This member is reserved.
GroupCount
DUMMYUNIONNAME
DUMMYUNIONNAME.GroupMask
DUMMYUNIONNAME.GroupMasks[ANYSIZE_ARRAY]
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7 [desktop apps only] |
| Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
| Header | winnt.h |