GetProcessorNodeCount Function

Returns the number of NUMA nodes or processor packages on the underlying system.

_CRTIMP unsigned int GetProcessorNodeCount();

The number of NUMA nodes or processor packages.

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.

Header: concrtrm.h

Namespace: Concurrency

Community Additions

ADD
Show: