Thread Load

Select the Threads tab to display the Thread Load. The thread load data in the main analysis view is built from the address/thread trace. The Thread Load graph and related table show information about threads that were active during the selected time period. The graph and table show the CPU load separated according to the executed thread, independent of the binary or function in which execution took place. Figure 1 shows an example graph with the Threads tab selected.

The address/thread trace graph is the most generic and perhaps most informative visual of the sampled data. The different colors represent different items. Time is represented on the horizontal axis of the graph and share of CPU use is represented on the vertical axis.

Figure 1. Thread Load Graph displaying combined CPU graph

Each of the lines in the thread table represents a single thread. The color codes in the thread list correspond to the colors in the thread load graphs. Therefore, each color in the thread load graph represents the load of its corresponding thread.

Description of table columns:

Columns may be reordered, resized, and sorted by clicking or dragging column headers.

The final row of the information section contains summary information about all threads below a threshold, if a threshold limit has been specified. The threshold row is not affected by sorting, it is always the last row.

You can check or uncheck items to be displayed in the graph or right-click to display a context menu of various options. The color next to a checkbox corresponds to that item’s color in the graph.

Scaling the Graph and Table According to CPU Clock Speed

When CPU clock rate counter is included in the sampled Performance Counter data, there is a Scale to CPU Clock Speed option available in the graph context menu. When the option is selected, both the graph and the % Load column of the legend table are scaled according to the CPU clock speed.

CPU Thread Load graphs in SMP systems

For SMP systems with more than one CPU it is also possible to select to

This is done by using either the context menu, which you can open by right-clicking on the CPU graph; or in the Investigator menu's CPU Load Graphs part.

Figure 2. Thread Load Graph displaying separate CPU graphs

In the separate graphs view, there is also a separate legend table created for each graph. You can choose the table you want to view by using the tabs above the table.

Related references