The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IResourceManager::CreateNodeTopology Method


Present only in debug builds of the runtime, this method is a test hook designed to facilitate testing of the Resource Manager on varying hardware topologies, without requiring actual hardware matching the configuration. With retail builds of the runtime, this method will return without performing any action.

virtual void CreateNodeTopology(
   unsigned int nodeCount,
   _In_reads_(nodeCount) unsigned int * pCoreCount,
   _In_reads_opt_(nodeCount) unsigned int ** pNodeDistance,
   _In_reads_(nodeCount) unsigned int * pProcessorGroups
) =0;


The number of processor nodes being simulated.


An array that specifies the number of cores on each node.


A matrix specifying the node distance between any two nodes. This parameter can have the value NULL.


An array that specifies the processor group each node belongs to.

invalid_argument is thrown if the parameter nodeCount has the value 0 was passed in, or if the parameter pCoreCount has the value NULL.

invalid_operation is thrown if this method is called while other schedulers exist in the process.


Header: concrtrm.h

Namespace: concurrency