Execution Trace Views
tab, inspect the node concurrency histogram for regions in red, which indicate low concurrency.
Zoom in to a red region to inspect the data at a higher resolution and provide a better idea as to how concurrency varies over time.
Select a point in the chart where the concurrency is low to highlight the relevant node(s). Hover the mouse over the highlighted node to identify the node name.
Because the analysis tool does not have built-in symbol resolution, the determination of the C++ class of the body executed by a node must be explicitly encoded into the application. Explicit encoding affects the
Name and/or object_name
fields in the
tab. For example:
. . .
tbb::flow::source_node<int> s_node (g, source_node_body(),
s_node.set_name(“My Source Node”);
This coding enables node annotation with the specified string during trace collection, and the annotation appears when you hover the mouse over the node.
functions are only available when the
macro is defined at compile-time.