|
|
This section describes features common to some or all of the views. Note that some of the behavior is different between the graphical views (Histogram, Execution, Execution Pattern, and Reference Pattern) and the text-based views (Table and Call Tree).
Histogram, Execution, Execution Pattern, and Reference Pattern views: In these views there are two additional ways to scroll:
Histogram, Execution, Execution Pattern, and Reference Pattern views: These views lets you zoom in and out to vary the scale of what you see. Zooming in enlarges the view; zooming out reduces it.
Execution and Execution Pattern views: These views, which map time to a spatial dimension, let you compress and expand the time scale.
Histogram view: The Histogram view lets you compress and expand the
horizontal dimension to make the histogram more or less compact. You
may use the "<", ">", "/", and "*" keys as above, or choose Compress
and Expand from the Options menu.
Table view: The Table view lets you compress the vertical dimension, so you can see more rows in one view. This is typically used when displaying the data as bars. You may use the "<", ">", "/", and "*" keys as above, or choose Compress Rows and Expand Rows from the Rows menu. You may also use the arrows in the upper right corner of the view.
Histogram, Execution, Execution Pattern, and Reference Pattern views: These views include a status line at the bottom of the window. The status line displays information about the item directly underneath the mouse pointer, if any. For example, passing the mouse pointer over an object in the Histogram view will display information such as the object's class and instance identifier, its time of creation, cumulative time spent in its methods, and so forth.
Table and Call Tree views: as you fly over the view with the mouse,
a tooltip window will show you more detailed information about a particular
cell or column heading.
Every view lets you select one or more elements for subsequent analysis. Selected elements are highlighted in the current view and in all other views. Every view highlights selected elements using a yellow background. Other details of how selection is displayed vary from view to view.
Once a selection has been made, functions are available in every view that let you use the selection to navigate to other views (see Navigation), or to filter and group information (see Slices and Workspaces: Introduction). Every view has a menu named Selected with these functions. These functions also appear in the popup menu you get by right-clicking in each view.
Note that right-clicking over a view works somewhat differently from view to view. In the Table and Call Tree views, right-clicking over a row will select that row if it's not already selected, and bring up a popup menu. In the other views, right-clicking only brings up the popup menu, and does not alter the current selection.
Note also that while Jinsight allows multiple elements to be selected, they must all be of the same type (classes or methods or threads, etc.).
You may select a number of elements from one view and then "drill down" to see them, or to see more detailed information about them, in another view. From the Selected menu in any view, or from the popup menu obtained by right-clicking, choose Drill Down to Selected Items. This will bring up a list of views which make sense for the type of elements that are currently selected.
For example, if we have selected a method, we may navigate to an Execution Pattern, Table or Call Tree view (below) over all the invocations of the method.


Drilling down from a selected method to a Call Tree view of the invocations of that method
The system will automatically convert from one type of information to another as you drill down to more detailed views. Here are the conversions provided:
A selection of this type ... May be automatically recast to open a view on ...Package All classes, all objects or all methods in the selected packages. Class All methods or all objects of the selected classes Method All invocations of the selected methods Object All invocations where the target object is currently selected Thread All invocations in the thread Slice All threads, packages, classes, methods, objects, or invocations in the user-defined Slice Every view also has a function to set its contents based on whatever is currently selected. The details of this differ in each view. For example, in the Execution view, there is a menu item to display the currently selected threads only. Some of the views in addition have the ability to automatically update what is shown as the selection changes. This allows you to select items in one view while viewing detailed information about the selected items in another.
The time units recorded in the trace depend upon the platform where your application was run:
Two summary measures of time are shown in various views:
|
|