GetProcessorNodeCount Function
Returns the number of NUMA nodes or processor packages on the underlying system.
unsigned int __cdecl GetProcessorNodeCount();
Return Value
The number of NUMA nodes or processor packages.
Remarks
If the system contains more NUMA nodes than processor packages, the number of NUMA nodes is returned, otherwise, the number of processor packages is returned.
unsupported_os is thrown if the operating system is not supported by the Concurrency Runtime. The earliest operating system supported is Windows XP with Service Pack 3.
Requirements
Header: concrtrm.h
Namespace: concurrency