Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

© 2015 Microsoft