SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX structure

Contains information about the relationships of logical processors and related hardware. The GetLogicalProcessorInformationEx function uses this structure.

Syntax

typedef struct _SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX {
  LOGICAL_PROCESSOR_RELATIONSHIP Relationship;
  DWORD                          Size;
  union {
    PROCESSOR_RELATIONSHIP Processor;
    NUMA_NODE_RELATIONSHIP NumaNode;
    CACHE_RELATIONSHIP     Cache;
    GROUP_RELATIONSHIP     Group;
  } DUMMYUNIONNAME;
} SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX, *PSYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX;

Members

Relationship

The type of relationship between the logical processors. This parameter can be one of the following LOGICAL_PROCESSOR_RELATIONSHIP values.

Value Meaning
RelationCache
2
The specified logical processors share a cache. The Cache member contains additional information.
RelationGroup
4
The specified logical processors share a processor group. The Group member contains additional information.
RelationNumaNode
1
The specified logical processors are part of the same NUMA node. The NumaNode member contains additional information.
RelationProcessorCore
0
The specified logical processors share a single processor core. The Processor member contains additional information.
RelationProcessorPackage
3
The specified logical processors share a physical package. The Processor member contains additional information.

Size

The size of the structure.

DUMMYUNIONNAME

DUMMYUNIONNAME.Processor

A PROCESSOR_RELATIONSHIP structure that describes processor affinity. This structure contains valid data only if the Relationship member is RelationProcessorCore or RelationProcessorPackage.

DUMMYUNIONNAME.NumaNode

A NUMA_NODE_RELATIONSHIP structure that describes a NUMA node. This structure contains valid data only if the Relationship member is RelationNumaNode.

DUMMYUNIONNAME.Cache

A CACHE_RELATIONSHIP structure that describes cache attributes. This structure contains valid data only if the Relationship member is RelationCache.

DUMMYUNIONNAME.Group

A GROUP_RELATIONSHIP structure that contains information about the processor groups. This structure contains valid data only if the Relationship member is RelationGroup.

Requirements

   
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header winnt.h

See also

CACHE_RELATIONSHIP

GROUP_RELATIONSHIP

NUMA_NODE_RELATIONSHIP

PROCESSOR_RELATIONSHIP