For a flexible analysis of a trace file it is helpful to look at multiple partitions of the data from various perspectives. The concept of Views is introduced here. A View holds a collection of Charts in a single window. These Charts, inherent in the same View, use the same perspective on the data. This perspective is made up of the following attributes: the time interval, process aggregation, function aggregation and filters. For an in-depth explanation of aggregation and filters, refer to Chapter 9.
Whenever an attribute in the current perspective is changed for one of the Charts, all other Charts follow. Opening several Views offers a very flexible and variable mechanism for exploring, analyzing and comparing trace data. The View's status bar shows the current perspective on the data and allows to quickly change the perspective. More about the status bar is described in Section 3.2.
All operations that can be performed on a View are found on the View's menu bar. This menu bar consists of five menu options:
The View menu consists of options that are carried out on the entire View. These options are described below:
Open New (Ctrl+Alt+O)
This opens the New View dialog box, which opens a new View with the selected Charts. The New View dialog box is explained in Section 5.9.
This command replicates the existing View. It creates a one-to-one clone of the current View.
This command saves the entire View as a picture.
This entry prints a copy of the View.
This command repaints the entire View.
This command closes the current View. If the last View for a trace file is closed, the trace file is closed as well.
This opens a dialog to select a file for comparison with the present one. This can be the current file of another trace file that is already open. After choosing the file, a new Comparison View will be opened that displays data from the two files. See Chapter 6.
The Charts menu contains entries to open the various Charts of the Intel® Trace Analyzer. There are seven entries in this menu:
This TimeScale entry displays the Timescale. The Timescale also appears automatically on first opening of any Timeline Chart.
Event Timeline (Ctrl+Alt+E)
The Event Timeline is a Chart that visualizes what the individual processes are doing. The Event Timeline is explained in detail in Section 4.1.
Qualitative Timeline (Ctrl+Alt+L)
The Qualitative Timeline shows event attributes as they occur over time. This timeline is explained in Section 4.2.
Quantitative Timeline (Ctrl+Alt+N)
This entry opens the Quantitative Timeline. It gives an overview of the parallel behavior of the application and is explained in Section 4.3.
Counter Timeline (Ctrl+Alt+U)
The Counter Timeline shows the values of all counters that are present in the trace file. For more information on the Counter Timeline, see Section 4.4.
Function Profile (Ctrl+Alt+F)
This entry opens the Function Profile. On opening a trace file in the Intel Trace Analyzer, the Function Profile is shown by default. For more information on the Function Profile, see Section 4.5.
Message Profile (Ctrl+Alt+M)
The Message Profile provides statistical information on MPI point to point messages. Messages are categorized by grouping them in two dimensions. A detailed description of the Message Profile is available in Section 4.6.
Collective Operations Profile (Ctrl+Alt+C)
The Collective Operations Profile provides statistical information on MPI's collective operations. Operations are categorized by grouping them in two dimensions. For more information on the Collective Operations Profile, refer to Section 4.7.
All functions provided by the Navigation Menu are also available through convenient keyboard shortcuts. Please note that these keyboard shortcuts work only when a timeline has the keyboard focus. To give the keyboard focus to a timeline just left-click into it. The keyboard focus is indicated by a black rectangle around the timeline.
The entries in the Navigate menu are:
Pops the current interval from the zoom stack (Section 3.3.1).
Zoom In (I):
Magnifies by a factor of two around the current center and pushes this new interval onto the zoom stack (Section 3.3.1).
Zoom Out (O):
Scales by a factor of 1/2 around the current center and pushes this new interval onto the zoom stack (Section 3.3.1).
Reset Zoom (R):
Clears the zoom stack and then pushes a time interval onto the zoom stack (Section 3.3.1) that corresponds to the complete trace file.
Zoom Up (U):
Maintains the current center and goes back to the previous zoom step.
Left 1/1 (Ctrl-Left):
Moves one whole screen to the left and pushes the new interval onto the zoom stack (Section 3.3.1).
Right 1/1 (Ctrl-Right):
Moves one whole screen to the right and pushes the new interval onto the zoom stack (Section 3.3.1).
Left 1/2 (Left):
Moves half a screen to the left and pushes the new interval onto the zoom stack (Section 3.3.1).
Right 1/2 (Right):
Moves half a screen to the right and pushes the new interval onto the zoom stack (Section 3.3.1).
Left 1/4 (Shift-Left):
Moves a quarter of a screen to the left and pushes the new interval onto the zoom stack (Section 3.3.1).
Right 1/4 (Shift-Right):
Moves a quarter of a screen to the right and pushes the new interval onto the zoom stack (Section 3.3.1).
To Start (Home):
Moves to the start of the trace file and pushes the new interval onto the zoom stack. (Section 3.3.1)
To End (End):
Moves to the end of the trace file and pushes the new interval onto the zoom stack (Section 3.3.1).
Opens the Time Interval Selection dialog box (Section 5.8).
Tagging highlights events that satisfy specific user-defined conditions. Click on this entry to open the dialog box where the tagging conditions are specified. For more information on the Tagging dialog box. refer to Section 5.2.
Filtering shows only those events that satisfy a condition as defined by the user. All other events are suppressed as if they had never been written to the trace file. The filtering dialog box is explained in Section 5.1.
This menu entry is active only when the chart has been either filtered or tagged. It undoes the tagging/filtering. All events are shown and none are filtered or tagged.
Process Aggregation focusses on the processes that are of importance to the user and aggregates the results to Process Groups. It accesses the Process Group Editor (Section 5.3) where the appropriate process groups can be constructed and/or chosen.
Function Aggregation focuses on a subset of functions and aggregates these into Function Groups, without being distracted by other functions that are currently not significant to the user. Use the Function Group Editor (Section 5.4) to do this.
Default aggregation sets the aggregation values back to the default settings which are All Processes for process aggregation and Major Function Groups for function aggregation.
Show Process Group "Other"
If the process aggregation does not cover all processes present in the trace file then all data for uncovered processes are subsumed in the artificially created process group Other.
Use this switch to show or hide the process group Other. The default is to hide this group.
The Quantitative Timeline and the Function Profile allow selecting a subset of the current processes to be shown and can hence override this switch.
Show Function Group "Other"
If the current function aggregation does not cover all functions in the trace file then all uncovered function events are subsumed in the artificially created function group Other.
Use this switch to show or hide this group. By default, the switch is enabled to show this group.
The Event Timeline always shows the Function Group Other wherever applicable instead of showing "holes". The Quantitative Timeline and the Function Profile enable selecting a subset of the current functions to be shown and can therefore override this switch.
Generally, every View is split into two sections: one for timelines and the other for Profiles. The Layout menu adjusts the position of the Charts or the respective sections on screen. For example, it provides the option of viewing the timelines and profiles next to each other or like the default, one below the other. The different entries of the layout menu, which are enabled when two or more charts are open, are explained below.
Timelines to Top
Use this entry to move the timelines to the upper portion of the View and the profiles to the bottom.
Timelines to Bottom
Use this entry to move the timelines to the lower portion of the View and the profiles to the top.
Timelines to Left
Use this entry to place the timelines to the left of the View. For example, to display the Charts next to each other, select the option-> -> . This moves the timeline(s) being shown in the View to the left of the screen, and thereby also shifts the profiles being shown to the other side. In case multiple timelines are open, these are collectively shown one below the other on the chosen side.
Timelines to Right
Use this entry to place all the timelines to the right of the View. It works the same way as Timelines to Left.
Swap Layout of Timelines
Swaps the position of the timelines relative to each other. It is useful only when two or more timelines are open at the same time. If the timelines are stacked and aligned on top of each other, use this option to present them next to each other (or vice versa). The menu entry switches between the two choices.
Swap Layout of Profiles
Swaps the position of the profiles relative to each other, similar to that of the timelines as explained above.
This option brings the layout of the View back to the default settings. By default, timelines are stacked in the upper portion of the View and Profiles in the lower portion, side by side.