GetNumaNodeCount

Function Declaration


ULONG GetNumaNodeCount();
            

Parameters

This function does not take any parameters.

Return Value

Type Description
ULONG The number of NUMA nodes in the system. If the system does not support NUMA, this function returns 1.

Remarks

Note: NUMA (Non-Uniform Memory Access) is a computer memory design used in parallel computing in which memory access time depends on the memory location relative to the processor. In a NUMA system, processors have faster access to some memory locations than others. This is in contrast to Uniform Memory Access (UMA), where all processors have the same memory access time.

Requirements

Header winuser.h (include windows.h)
Library User32.lib
DLL User32.dll
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008

Related Functions