CHAPTER 4. PERFORMANCE DATA VISUALIZATION
4.2.6 Call Tree
The “Call Tree”, depicted in Figure 4.17, illustrates the invocation hierarchy of all mon-
itored functions in a tree representation. The display reveals information about the
number of invocations of a given function, the time spent in the different calls and the
caller-callee relationship.
Figure 4.17: Call Tree
The entries of the “Call Tree” can be sorted in various ways. Simply click on one header
of the tree representation to use its characteristic to re-sort the “Call Tree”. Please
note that not all available characteristics are enabled by default. To add or remove
characteristics use the “Set Metric” sub-menu of the context menu.
To leaf through the different function calls, it is possible to fold and unfold the levels
of the tree. This can be achieved by double clicking a level, or by using the fold level
buttons next to the function name.
Functions can be called by many different caller functions, what is hardly obvious in the
tree representation. Therefore, a relation view shows all callers and callees of the cur-
rently selected function in two separated lists, shown in the lower area in Figure 4.17.
In order to find a certain function by its name, Vampir provides a search option acces-
sible via the context menu entry “Find...”. The entered keyword has to be confirmed by
pressing the Return key. The “Previous” and “Next” buttons can be used to flip through
the results.
41
4.3. INFORMATIONAL CHARTS
4.3 Informational Charts
4.3.1 Function Legend
The “Function Legend” lists all visible function groups of the loaded trace file along with
their corresponding color.
Figure 4.18: Function Legend
If colors of functions are changed, they appear in a tree like fashion under their respec-
tive function group as well, see Figure 4.18.
4.3.2 Marker View
The “Marker View” lists all marker events included in the trace file.
The display organizes the marker events based on their respective groups and types
in a tree like fashion. Additional information like the time of occurrence or descriptions
are provided for each marker.
By clicking on a marker event in the “Marker View” this event becomes selected in the
timeline displays. If this marker is located outside the visible area the zoom jumps to
this event automatically. It is possible to select marker events by their type as well.
42
CHAPTER 4. PERFORMANCE DATA VISUALIZATION
Figure 4.19: A chosen marker (A) and its representation in the Marker View (B)
Then all events belonging to that type are selected in the “Master Timeline” and the
“Process Timeline”. By holding the “Ctrl” or “Shift” key pressed multiple marker events
can be selected. If exactly two marker events are selected the zoom is set automatically
to the occurrence time of the markers.
4.3.3 Context View
As implied by its name, the “Context View” provides more detailed information of a
selected object compared to its graphical representation.
An object, e.g., a function, function group, message, or message burst can be selected
directly in a chart by clicking its graphical representation. For different types of objects
different context information is provided by the “Context View”. For example the ob-
ject specific information for functions includes properties like “Interval Begin”, “Interval
End”, and “Duration”, shown in Figure 4.20.
The “Context View” may contain several tabs. A new empty one can be added by
clicking the “+”-symbol on the right hand side. Information of new selected objects are
always displayed in the currently active tab.
The “Context View” offers a mode for the comparison of information between tabs.
Just use the “=”-button on the left hand side and choose two objects to compare. It is
possible to compare different objects from different charts. This can be useful in some
43
4.3. INFORMATIONAL CHARTS
Figure 4.20: Context View, showing context information (B) of a selected function (A)
Figure 4.21: Comparison between Context Information
44
CHAPTER 4. PERFORMANCE DATA VISUALIZATION
cases. The comparison shows a list of common properties. The corresponding values
as well as the differences are displayed. The first line always indicates the names of
the respective charts, Figure 4.21.
4.4 Information Filtering and Reduction
Due to the large amount of information that can be stored in trace files, it is usually nec-
essary to reduce the displayed information according to some filter criteria. In Vampir,
there are different ways of filtering. It is possible to limit the displayed information to a
certain choice of processes or to specific types of communication events, e.g. to cer-
tain types of messages or collective operations. Deselecting an item in a filter means
that this item is fully masked. In Vampir, filters are global. Therefore, masked items will
no longer show up in any chart. Filtering not only affects all performance charts, but
also the ‘Zoom Toolbar”. The available filter can be reached via the “Filter” entry in the
main menu.
Example: Figure 4.22 shows a typical process representation in the “Process Filter”
dialog. This kind of representation is equal to all other filter dialog windows. Processes
can be filtered by their “Process Group”, “Communicators”, and “Process Hierarchy”.
Items to be filtered are arranged in a spreadsheet representation. In addition to se-
lecting or deselecting an entire group of processes, it is also possible to filter single
processes.
Figure 4.22: Process Filter
Different selection methods can be used in a filter. The check box “Include/Exclude
All” either selects or deselects every item. Specific items can be selected/deselected
45
Dostları ilə paylaş: |