Expand Minimize

KeQueryNodeMaximumProcessorCount routine

The KeQueryNodeMaximumProcessorCount routine returns the maximum number of logical processors that a specified node in a non-uniform memory access (NUMA) multiprocessor system can contain.

Syntax


USHORT KeQueryNodeMaximumProcessorCount(
  _In_  USHORT NodeNumber
);

Parameters

NodeNumber [in]

The node number. If a NUMA multiprocessor system contains n nodes, valid node numbers are in the range 0 to n-1. To get the highest node number (n-1) in the system, call the KeQueryHighestNodeNumber routine.

Return value

KeQueryNodeMaximumProcessorCount returns the maximum number of logical processors.

Remarks

In a multiprocessor system with a NUMA architecture, a node is a collection of processors that share fast access to a region of memory. Memory access is non-uniform because a processor can access the memory in its node faster than it can access the memory in other nodes.

The count returned by this routine includes any logical processors that can be dynamically added to the node while the multiprocessor system is running.

Requirements

Version

Available in Windows 7 and later versions of Windows.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

Any level

See also

KeQueryHighestNodeNumber

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft