CACHE_RELATIONSHIP structure

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[20];
  GROUP_AFFINITY       GroupMask;
} CACHE_RELATIONSHIP, *PCACHE_RELATIONSHIP;

Members

Level

The cache level. This member can be one of the following values.

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.

CacheSize

The cache size, in bytes.

Type

The cache type. This member is a PROCESSOR_CACHE_TYPE value.

Reserved

This member is reserved.

GroupMask

A GROUP_AFFINITY structure that specifies a group number and processor affinity within the group.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

WinNT.h

See also

GetLogicalProcessorInformationEx
GROUP_AFFINITY
PROCESSOR_CACHE_TYPE
SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.