Use the Thread View, UML2 Object Interactions view, and the Profiling Monitor together
The Thread View, UML2 Object Interactions view, and the Call Stack node in the Profiling Monitor provide complementary information. Changing the focus in the Thread View or the UML2 Object Interactions view synchronizes all of them.
Prerequisite: To use the UML2 Object Interactions view, select Collect UML2 Sequence Diagram object interaction data in the Thread Analysis profiling type when you collect data. Refer to Collecting thread data.
The following actions result in immediate synchronization:
- In the Thread View, move the Current Time indicator. This changes the first visible message in the UML2 Object Interactions view. The Current Time indicator is a vertical line positioned, by default, at the left edge of the Thread View graph. To move the Current Time indicator, drag it with the mouse, or click in the Time Window.
- In the UML2 Object Interactions view, select a message. This moves the Current Time indicator in the Thread View to the corresponding location, and expands the Call Stack in the Profiling Monitor to display the corresponding stack frame.
- In the UML2 Object Interactions view, select multiple messages. This moves the Current Time indicator in the Thread View to the location corresponding to the first message, and also adjusts the time range displayed in the Thread View so that it reflects the time represented by the first and last messages.
Note: TheThread View never displays ranges that are smaller that 0.1% of the total time for the dataset.
Parent topic
Identifying the methods behind thread bottlenecks
Related reference
The Thread View