Partager via


ITopologyNode::GetId Method

Returns the Resource Manager's unique identifier for this node.

virtual unsigned int GetId() const =0;

Return Value

The Resource Manager's unique identifier for this node.

Remarks

The Concurrency Runtime represents hardware threads on the system in groups of processor nodes. Nodes are usually derived from the hardware topology of the system. For example, all processors on a specific socket or a specific NUMA node may belong to the same processor node. The Resource Manager assigns unique identifiers to these nodes starting with 0 up to and including nodeCount - 1, where nodeCount represents the total number of processor nodes on the system.

The count of nodes can be obtained from the function GetProcessorNodeCount.

Requirements

Header: concrtrm.h

Namespace: concurrency

See Also

Reference

ITopologyNode Structure