gerstla
gerstla

Reputation: 597

In windows get NUMA Node of current thread

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.

Upvotes: 1

Views: 1982

Answers (1)

Brian
Brian

Reputation: 2813

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.

Upvotes: 3

Related Questions