C language function:GetNumaNodeProcessorMask sample codes

Search sample code in the internet.It is the result.

TITLE : SetThreadIdealProcessor function (Windows)
BOOL WINAPI GetNumaNodeProcessorMask(.......

TITLE : The NUMA Explorer
BOOL GetNumaNodeProcessorMask(UCHAR node, PULONGLONG ProcessorMask) gives the mask associated with each processor. For example, on the left, we see that node 0 is associated with processors 0 and 1 (0x...3) and node 1 is associated with processors 2 and 3 (0x...C)........
search Google