C language function:GetNumaNodeProcessorMask sample codes

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


TITLE : SetThreadIdealProcessor function (Windows)
BOOL WINAPI GetNumaNodeProcessorMask(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/ms683204(v=vs.85).aspx


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)........
http://www.flounder.com/numaexplorer.htm
search Google

https://www.google.com/#q=GetNumaNodeProcessorMask