Export (0) Print
Expand All

CACHE_DESCRIPTOR structure

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.

ValueMeaning
1

L1

2

L2

3

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

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)

See also

GetLogicalProcessorInformation
PROCESSOR_CACHE_TYPE
SYSTEM_LOGICAL_PROCESSOR_INFORMATION

 

 

Community Additions

ADD
Show:
© 2015 Microsoft