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 Go to source icon.

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:

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 
Icon for package
Class
statistics
Icon for classes
Method statistics
Icon for methods
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

Working with columns

There are different controls available that allow you to manipulate the columns displayed in this view.

  1. To specify which columns to display in the view, select the Choose Column Choose column icon button in the toolbar drop-down menu drop-down menu icon.
  2. In the Choose Columns dialog, select the columns that you want displayed in the view. Click OK to apply the changes.
  3. To show the change in each numeric column since the last refresh, select Show Delta Columns Show Delta icon in the toolbar.
  4. 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.

  1. To open the source code view of a selected object, right-click and select Open Source Open source icon.

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).

  1. To export the data in the view, select Report... Export icon in the toolbar. The New Report dialog appears, showing available report types.
  2. Select the report type.
  3. Check the Open editor option to open the document using the default system editor.
  4. Click Next to continue.
  5. Select a parent folder and enter a file name.
  6. Click Finish to generate the report.

Refreshing the view

The Session Summary tab can be refreshed using the Refresh Views Refresh Views icon button in the Profiling Monitor toolbar or right click popup menu. When the view is refreshed, changes are marked with delta icons:

 


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.