Using the Session Summary tab
The Session Summary tab, of the Execution Statistics view, displays the summarized statistics for a profiling session such as the "Top 10 Cumulative time" methods table and "Highest 10 Total Size" instances table.
You can go to the source of a selected class or method in these tables using either the context menu or the corresponding toolbar button
.
Prerequisites:
The Session Summary view provides a number of controls to allow you
to manipulate the information shown within the view:
Working with display modes
This view is made of a table where the first column presents the list of
items. Three display modes are available based on three object types:
- a list of packages

- a list of classes

- a list of methods

Statistics displayed for each object type
The data displayed depends what object type is selected.
The statistics available for each object are summarized in the table below.
Column heading |
Package statistics
 |
Class
statistics
 |
Method statistics
 |
- Base Time
- For any invocation, the base time is the time taken to
execute the invocation, excluding the time spent in other methods that
were called during the invocation.
|
The summed base time for the classes in the
package |
The summed base time for the methods in the class |
The time spent executing a given method |
- Average Base Time
- The base time divided by the number of calls.
|
Available |
Available |
Available |
- Inherited Base Time
- Similar to the base time spent in the selected package or
class including the time spent in other
inherited methods that were called during the invocation.
|
The summed base time for the classes in the
package |
The summed base time for the methods in the class |
Not available |
- Cumulative Time
- For any invocation, the cumulative time is the time taken to
execute all methods called from an invocation. If an invocation
has no additional method calls, then the cumulative time will
be equal to the base time.
|
The summed cumulative time for the classes in
the package |
The time spent executing the methods in the class |
The time spent executing the given method. |
- Inherited Cumulative Time
- Similar to the cumulative time of the selected package or
class including the time spent in other
inherited methods that were called during the invocation.
|
The summed cumulative time for the classes in
the package |
The time spent executing the methods in the class |
Not available |
- Calls
- The number of calls on the selected method.
|
Not available |
Accumulated by class |
Count |
- Inherited Calls
- The number of calls on the selected method and its inherited
methods.
|
Accumulated by package |
Accumulated by class |
Not available |
- Cumulative CPU Time
- The amount of CPU time spent in a method.
|
Accumulated by package |
Accumulated by class |
Accumulated by method |
Display symbols
- The delta icons
and
indicate that there is a change in
the numeric value (increase or decrease respectively) for that
particular cell since the last time the table was refreshed.
- The diamond
indicates new
occurrences since the last time the Refresh Views button
from the Profiling Monitor view was pressed.
Working with columns
There are different controls available that allow you to manipulate the columns displayed in this view.
- To specify which columns to display in the view, select the Choose Column
button in the toolbar drop-down menu
.
- In the Choose Columns dialog, select the columns that you want displayed in the view. Click OK to apply the changes.
- To show the change in each numeric column since the last refresh, select Show Delta Columns
in the toolbar.
- To sort column data, click the title of a column. Click the title of the
column again to sort it in reverse order. The title of the column is
prefixed with > if the column is sorted in ascending order
or with < if it is sorted in descending order.
Opening other views
Other profiling views and source code views can be opened from the Session Summary view.
- To open the source code view of a selected object, right-click and select Open Source
.
Exporting the data in the view
The data within the Session Summary view can be exported to available report formats (for example, HTML or XML).
- To export the data in the view, select Report...
in the toolbar.
The New Report dialog appears, showing available report types.
- Select the report type.
- Check the Open editor option to open the document using the default system editor.
- Click Next to continue.
- Select a parent folder and enter a file name.
- Click Finish to generate the report.
Refreshing the view
The Session Summary tab can be refreshed using the Refresh Views
button in the Profiling Monitor toolbar or right click popup menu. When the view is refreshed, changes are marked with delta icons:
- The delta icons
and
indicate that there is a change in
the numeric value (increase or decrease respectively) for that
particular cell since the last time the table was refreshed.
- The diamond icon
indicates new
occurrences since the last time the Refresh Views button
was selected from the Profiling Monitor view.
Related concepts
Overview of the Java Profiler
Profiling resources
Related tasks
Profiling an application
Viewing invocations and callers of a method
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.