1

I would like to find the NUMA node for the current thread in Windows.

I found the answer here for Linux but I need it in Windows.

Community
  • 1
  • 1
gerstla
  • 577
  • 1
  • 4
  • 18

1 Answers1

2

Window's NUMA support is covered on MSDN. You can query GetCurrentProcessorNumber to get the processor number of the current thread and pass the result to GetNumaProcessorNode.

Brian
  • 2,603
  • 5
  • 29
  • 27