Intel® Advisor Help

Setting Node Weight

The weight determines the simulated amount of time the node spins or does active work per data item passed to the node. The default unit for the weight is microseconds. For example, per the default unit of microseconds, a weight value of 1000 makes a node spin for half a second.

Note

  • If the specified weight is high relatively to the unit, the computation might run for a longer time.

  • If the graph has an associated trace, the unit of the weight is overwritten by the unit specified in the trace.

To edit a node weight:

  1. Select a node in the canvas.

  2. Click the Node Weight field value in the Node tab of the Properties pane and enter your value.


    node weight field

The weight value matters only for nodes with a body, such as source_node, continue_node, function_node, multifunction_node, async_node, and tag_matching join_node. Other nodes that simply assist in the topology of the graph do not use the weight value. For example, specifying a weight value for a broadcast_node has no effect on the node.

Consider the following: