Thread View

The Thread view displays all threads that run within the selected process(es). Threads are not shared across processes. However threads from different processes can run a common module.

By default, threads are named Thread0, Thread1 and so on.

Table or Horizontal Bar Chart format

Right-click the view, and select View As Table or View as Bar Chart from the pop-up menu.

Table format

You can click the column header to sort and display the data in an ascending or descending order.

Column

Description

Thread

Threads within the selected processes for which data was collected.

Thread IDs are created by the system. Some systems re-use thread IDs and this may cause wrong data to be displayed in this view. To avoid this error, track thread creation when configuring the sampling collector.

Process

Names of the processes to which each thread belongs.

Process ID

Identifiers of the processes to which each thread belongs.

<Event name> CPU<n> events

Number of events that occurred on each processor for every thread.

Processor information on which the sampling data was collected is displayed if the Hide/Show CPU Information option in the sampling toolbar is enabled.

<Event name>events

Total event count for each thread. The event count is based on the number of samples collected for the thread x Sample After value.

Each event name is displayed in a column. If you selected three events for sampling, you have three columns, one for each event.

Horizontal Bar Chart format

Vertical axis

Displays the names of all the threads that were running within the processes you selected in the Process view.

Horizontal axis

The horizontal axis is a log scale of the total number of events monitored over a period of time. Each bar next to a process represents an event. The length of the bar indicates the total events recorded for that process. The longer the bar, the larger the number of events recorded.  If two or more events were selected for sampling then each event is color-coded and displayed next to a process.


Place your cursor over a bar to display a tool tip with the process name, event name, and the number of events collected for that process. To adjust the scale, right-click the view and select Log Scale.

To drill down to the Module view:

Double-click the selected thread.

OR

  1. Select one or more threads.

  2. Click Module in the sampling toolbar.

note

Click Show/Hide CPU Information to display the number of samples collected for each item per processor on your system.

More about Sampling Views

Click the following buttons for more information about sampling:

Before you begin

Tips

How do I...?

How does it work?

Sampling toolbar and pop-up menu

Troubleshooting