CHAPTER 3. BASICS
Figure 3.6: Undocking of a Chart
Figure 3.7: Docking of a Chart
19
3.3. ZOOMING
Figure 3.8: Resizing Labels: (A) Hover a Separator Decoration; (B) Drag and Drop the
Separator
3.3 Zooming
Zooming is a key feature of Vampir. In most charts it is possible to zoom in and out to
get detailed or abstract views of the visualized data.
In the timeline charts zooming produces a more detailed view of a selected time interval
and therefore reveals new information that was previously hidden in the larger section.
Short function calls in the “Master Timeline” may not be visible unless an appropriate
zooming level has been reached. In other words, if the execution time of functions is too
short with respect to the available pixel resolution of your computer display, zooming
into a shorter time interval is required in order to make them visible.
Note: Other charts are affected by zooming in the timeline displays. The interval cho-
sen in a timeline chart, such as “Master Timeline” or “Process Timeline” also defines
the time interval for the calculation of accumulated measurements in the statistical
charts.
Statistical charts like the “Function Summary” provide zooming of statistic values. In
these cases zooming does not affect any other chart. Zooming is disabled in the “Pie
Chart” mode of the “Function Summary” accessible via the context menu under “Set
Chart Mode → Pie Chart”.
20
CHAPTER 3. BASICS
Figure 3.9: Zooming within a Chart
To zoom into an area, click and hold the left mouse button and select the area as shown
in Figure 3.9. It is possible to zoom horizontally and in some charts also vertically. In the
“Master Timeline” horizontal zooming defines the time interval to be visualized whereas
vertical zooming selects a group of processes to be displayed. To scroll horizontally
move the slider at the bottom or use the mouse wheel. To get back to the initial state
of zooming select “Reset Horizontal Zoom” or “Reset Vertical Zoom” (see Section 3.2)
in the context menu of the respective performance chart.
Additionally the zoom can be accessed with help of the “Zoom Toolbar” by dragging
the borders of the selection rectangle or by scrolling of the mouse wheel as described
in Chapter 3.4.
In order to return to the previous zooming state an Undo functionality, accessible via the
“Edit” menu, is provided. Alternatively, the key combination Ctrl+Z also reverts the last
zoom. Accordingly, a reverted zooming action can be redone by selecting Redo in the
“Edit” menu or by pressing Ctrl+Shift+Z. The Undo functionality is not bound to single
performance charts, but works across the entire Vampir application. The labels of the
Undo and Redo menu entries also state which kind of action will be undone/redone
next.
21
3.4. THE ZOOM TOOLBAR
3.4 The Zoom Toolbar
Vampir provides a “Zoom Toolbar” that can be used for zooming and navigation in the
trace data. It is located in the upper right corner of the “Trace View” window, shown in
Figure 3.1. It is possible to adjust its position via drag and drop. The “Zoom Toolbar”
offers an overview and summary of the loaded trace data. The currently zoomed area is
highlighted as a rectangle within the “Zoom Toolbar”. By dragging of the two boundaries
of the highlighted rectangle the horizontal zooming state can be adjusted.
Note: Instead of dragging boundaries it is also possible to use the mouse wheel for
zooming. Hover the “Zoom Toolbar” and scroll up and down to zoom in and out, re-
spectively.
Dragging the zoom area changes the section that is displayed without changing the
zoom factor. For dragging, click into the highlighted zoom area and drag and drop it to
the desired position. Zooming and dragging within the “Zoom Toolbar” is illustrated in
Figure 3.10. If the user double clicks in the “Zoom Toolbar”, the initial zooming state is
reverted.
Figure 3.10: Zooming and Navigation within the Zoom Toolbar: (A+B) Zooming in/out
with the Mouse Wheel; (C) Scrolling by Moving the Highlighted Zoom
Area; (D) Zooming by Selecting and Moving a Boundary of the Highlighted
Zoom Area
The colors represent user-defined groups of functions or activities. Please note that
all charts added to the “Trace View” window will calculate their statistic information
22
CHAPTER 3. BASICS
according to the selected time interval (zooming state) in the “Zoom Toolbar”. The
“Zoom Toolbar” can be enabled and disabled with the toolbar’s context menu entry
“Zoom Toolbar”.
3.5 The Charts Toolbar
Icon
Name
Description
Master Timeline
Section 4.1.1
Process Timeline
Section 4.1.1
Counter Data Timeline
Section 4.1.2
Performance Radar
Section 4.1.3
Function Summary
Section 4.2.1
Message Summary
Section 4.2.3
Process Summary
Section 4.2.2
Communication Matrix View
Section 4.2.4
I/O Summary
Section 4.2.5
Call Tree
Section 4.2.6
Function Legend
Section 4.3.1
Context View
Section 4.3.3
Marker View
Section 4.3.2
Table 3.1: Icons of the Charts Toolbar
The “Charts Toolbar” is used to open instances of the available performance charts. It
is located in the upper left corner of the “Trace View” window as shown in Figure 3.1.
The toolbar can be dragged and dropped to alternative positions. The “Charts Toolbar”
can be disabled with the toolbar’s context menu entry “Charts”.
Table 3.1 gives an overview of the available performance charts with their correspond-
ing icons. The icons are arranged in three groups, divided by small separators. The
23
Dostları ilə paylaş: |