The Thread View
The Thread View displays information for all the threads of a selected profiling resource. You can control the format and scope of the displays.
To open the Thread View, right-click a profiling resource in the Profiling Monitor and select Open With > Thread View from the pop-up menu.
The Thread View shows the following:
- A legend, showing the meaning of each symbol in the Thread View.
- A list of all the threads that belong to the profiling resource that you right-clicked, arranged in tree format.
- A graph with a timeline for each thread, showing a history of its known states.
Note: The Thread View can display threads in the following states: Running, Sleep, Waiting for Object, Waiting for Lock, and Dead. Using the Thread Analysis profiling type collects data for threads in all of these states. Using the Execution Time Analysis profiling type collects data only for threads in the Running and Dead states.
The following controls and menu commands appear in the Thread View:
Control Command Description
No menu command Toggles the Time Window between the "whole time" view, which shows the entire timespan for the profiling run, and a "current time" view, which shows a time segment. You can select the time segment using the handles on the Whole time scale.
Display legend Switches the legend on and off.
Display threads as tree Lists the threads for the profiling run in tree format, with collapsible nodes.
Display threads as list Lists the threads for the profiling run as a flat list.
Display linear times Switches to a linear time display. All time units are of equal size.
Display compressed scale Switches to a compressed time display. Time segments that have no interesting thread activity are compressed. Pull-down menu Expand Call Stack in the Profiling Monitor Expands the Profiling Monitor call stack entry to show calls. Pull-down menu Open UML2 Object Interactions Opens the UML2 Objects Interactions view with data collected for the profiling run. You can control the display in the following additional ways:
- Use the Whole Time scale at the top of the Thread View to change the time segment that is displayed. Use your cursor on the handles at the ends of the Whole Time scale to adjust the start and end of the time segment. Use your cursor on the portion between the handles to shift the time period that is displayed.
- Display the information for a selected event as tabulated data using the Property Editor.
- Use the Thread View page of the Preferences dialog box to change the color and patterns used in the display.
Parent topic
Thread bottleneck detection user interface reference
Related tasks
Identifying thread bottlenecks
Related reference
The Thread View preferences page