Quick Reference Guide

This topic provides a quick reference guide on the actions needed to configure the Analyzer windows, control the data that is displayed, and navigate the displays. The information is presented in a single topic so that it is easy to print.

Often you can perform an action in three ways: choose a menu item, click a toolbar button, or type a key sequence. The key sequence is included for accessibility. In the descriptions of the actions, the choice of a menu item or mouse action is given first. The other choices are given in parentheses. If the menu item has a corresponding button in the toolbar, the button icon followed by the word "button" is given, then the key sequence.

The topic is divided into the following sections.

GUI Configuration

Task Action
Expand the left or right pane to full size Click the zoom button (triangle) at the top of the splitter bar that points in the direction you want the bar to move, or press F8 then End or Home.
Open a new Analyzer window (standalone Analyzer only, not applicable in the IDE) Choose File and choose Create New Window (Alt-F, N).
Select the tabs to display in the Analyzer window Choose View and choose Select Tabs ( button; Alt-V, t).
Rearrange the columns in a table Either (a) drag the column headers to the desired location, or (b) choose View and choose Set Data Presentation (set data presentation toolbar button icon button; Alt-V, P), then click the Sort tab and make a selection.
Reset the display from full size to split pane Click the zoom button (triangle) at the top of the splitter bar that points in the direction you want the bar to move.
Resize the columns in a table Drag the border between the column headers.
Resize the panes Drag the splitter bar, or press F8 and use the arrow keys.

Metrics

Task Action
Choose the visible metrics
  • In the standalone Analyzer, choose View and choose Set Data Presentation (set data presentation 
toolbar button icon button; Alt-V, P).
  • In the IDE, choose Analyze and choose View and choose Set Data Presentation (set data presentation 
toolbar button icon button in the Analyzing workspace; Alt-V, P).
Then click the Metrics tab (arrow keys) and make your choices.
Choose the sort metric Either click the column header of the sort metric, or
  • In the standalone Analyzer, choose View and choose Set Data Presentation (set data presentation 
toolbar button icon button; Alt-V, P).
  • In the IDE, choose Analyze and choose View and choose Set Data Presentation (set data presentation 
toolbar button icon button in the Analyzing workspace; Alt-V, P).
Then click the Sort tab (arrow keys) and make your choice.

Data Collection

Task Action
Open the Performance Tools Collect window.
  • In the IDE, choose Analyze and choose  File and choose Collect Experiment ( button in Analyzing workspace; Alt-F, e)
  • In the standalone Analyzer, choose File and choose Collect Experiment ( button; Alt-F, e).
Open the Collect dialog in the DebuggerLoad your program into the Debugger and choose Debug and choose  Performance Toolkit and choose Enable Collector.

Experiments

Task Action
Discard the current set of experiments and load a new experiment
  • In the standalone Analyzer, choose File and choose  Open Experiment ( button; Alt-F, O)
  • In the IDE, choose Analyze and choose File and choose Open Experiment ( button in the Analyzing workspace; Alt-F, O).
Then select an experiment.
Add a new experiment to the existing set of experiments
  • In the standalone Analyzer, choose File and choose  Add Experiment ( button; Alt-F, O)
  • In the IDE, choose Analyze and choose File and choose Add Experiment ( button in the Analyzing workspace; Alt-F, O).
Then select an experiment.
Remove an experiment from the current set.
  • In the standalone Analyzer, choose File and choose  Drop Experiment ( button; Alt-F, O)
  • In the IDE, choose Analyze and choose File and choose Drop Experiment ( button in the Analyzing workspace; Alt-F, O).
Then select one or more experiments.
See information about an experiment Click the Experiments tab (arrow keys)

Source and Disassembly Tabs

<
Task Action
Choose the threshold for highlighting high metric values Do one of the following:
  • In the standalone Analyzer, choose View and choose Set Data Presentation (set data presentation 
toolbar button icon button; Alt-V, P).
  • In the IDE, choose Analyze and choose View and choose Set Data Presentation (set data presentation 
toolbar button icon button in the Analyzing workspace; Alt-V, P)
Then click the Source and Disassembly tab (arrow keys) and type the value.
Choose the compiler commentary classes that are displayed Do one of the following:
  • In the standalone Analyzer, choose View and choose Set Data Presentation (set data presentation 
toolbar button icon button; Alt-V, P).
  • In the IDE, choose Analyze and choose View and choose Set Data Presentation (set data presentation 
toolbar button icon button in the Analyzing workspace; Alt-V, P)
Then click the Source and Disassembly tab (arrow keys) and make your choices.
Find a code line Type the target text into the text box of the Find tool on the toolbar (Alt-D, text) and click the Find Next button find next button icon or Find Previous button find previous button icon (use Tab and Space).
Find the next or last high-metric line Choose High-Metric Item from the combo box of the Find tool on the toolbar (Alt-D, Down arrow to item, Esc) and click the Find Next button find next button icon or Find Previous button find previous button icon (use Tab and Space).
Show instructions in hexadecimal in the Disassembly tabDo one of the following:
  • In the standalone Analyzer, choose View and choose Set Data Presentation (set data presentation 
toolbar button icon button; Alt-V, P).
  • In the IDE, choose Analyze and choose View and choose Set Data Presentation (set data presentation 
toolbar button icon button in the Analyzing workspace; Alt-V, P)
Then click the Source and Disassembly tab (arrow keys) and make a selection.
Show source code in the Disassembly tab Do one of the following:
  • In the standalone Analyzer, choose View and choose Set Data Presentation (set data presentation 
toolbar button icon button; Alt-V, P).
  • In the IDE, choose Analyze and choose View and choose Set Data Presentation (set data presentation 
toolbar button icon button in the Analyzing workspace; Alt-V, P)
Then click the Sour and Disassembly tab (arrow keys) and make a selection.

Timeline Tab

Task Action
Choose the color that is mapped to a function in the Timeline Select the function, then do one of the following:
  • In the standalone Analyzer, choose Viewand choose  Show Function Color Chooser ( button; Alt-T, c).
  • In the IDE, choose Analyze and choose View and choose Show Function Color Chooser ( button in the Analyzing workspace; Alt-T, c).
  • Double-click the color square in the Legend tab to open the Color Chooser.
Choose the kinds of data shown in the Timeline tab Do one of the following:
  • In the standalone Analyzer, choose View and choose Set Data Presentation ( button; Alt-T, P).
  • In the IDE, choose Analyze and choose View and choose  Set Data Presentation ( button in the Analyzing workspace; Alt-T, P).
Choose the number of stack frames shown in the Timeline event markers Do one of the following:
  • In the standalone Analyzer, choose View and choose Set Data Presentation ( button; Alt-T, P).
  • In the IDE, choose Analyze and choose View and choose Set Data Presentation ( button in the Analyzing workspace; Alt-T, P).
Expand a region of the Timeline Do one of the following:
  • In the standalone Analyzer, choose Timeline and choose  Zoom In x2 (zoom in icon  button; Alt-T, I), or drag horizontally to define the region.
  • In the IDE, choose Analyze and choose Timeline and choose  Zoom In x2 (zoom in icon  button in the Analyzing workspace; Alt-T, I).
  • Drag horizontally to define the region.
Show a larger region of the Timeline Do one of the following:
  • In the standalone Analyzer, choose Timeline and choose  Zoom Out x2 (zoom out icon  button; Alt-T, O).
  • In the IDE, choose Analyze and choose  Timeline and choose  Zoom Out x2 (zoom out icon  button in the Analyzing workspace; Alt-T, O).
Show the full range of the Timeline Do one of the following:
  • In the standalone Analyzer, choose Timeline  and choose Reset Display (reset display icon  button; Alt-T, R).
  • In the IDE, choose Analyze and choose Timeline  and choose Reset Display (reset display icon  button in the Analyzing workspace; Alt-T, R).

Filtering the Data

Task Action
Filter the data by experiment, LWP, thread and sample. Do one of the following:
  • In the standalone Analyzer, choose View and choose  Filter Data (filter data toolbar 
button icon button; Alt-V, F).
  • In the IDE, choose Analyze and choose View and choose  Filter Data (filter data toolbar 
button icon button in the Analyzing workspace; Alt-V, F).
  • Then make a selection.
Show or hide functions from a given load object. Do one of the following:
  • In the standalone Analyzer, choose View and choose  Show/Hide Functions (show/hide functions toolbar button icon button; Alt-V, S).
  • In the IDE, choose Analyze and choose View and choose  Show/Hide Functions (show/hide functions toolbar button icon button in the Analyzing workspace; Alt-V, S).
Then make a selection.

Searching

Task Action
Find a function or code line in the currently displayed tab. Type the target text into the text box of the Find tool on the toolbar (Alt-D, text) and click the Find Next button find next button icon or Find Previous button find previous button icon (use Tab and Space).
Find the next or last highlighted line in the Source or Disassembly tabs. Choose High-Metric Item from the combo box in the Find tool on the toolbar (Alt-D, Down arrow to item, Esc) and click the Find Next button find next button icon or Find Previous button find previous button icon (use Tab and Space).

Copying Text

Task Action
Copy selected data into the edit buffer. Press Copy or type Ctrl-C.
Select lines of data from the Source tab or Disassembly tab. Drag through the lines (Arrow keys to navigate then Shift-Arrow keys to select).
Select data for an experiment in the Experiments tab. Triple-click in the text area for the experiment to select the entire text (Arrow keys, F2, Tab), or click in the text area, then drag to select part of the text (Arrow keys, F2, Tab, Arrow keys to navigate then Shift-Arrow keys to select).
Copy text from the Functions tab, the Callers-Callees tab, or the Statistics tab. Copy individual lines or entries by selecting the line or entry and pressing Ctrl-C. To copy the entire tab, do one of the following:
  • In the standalone Analyzer, choose File and choose  Print ( button; Alt-F, P) and print to a file.
  • In the IDE, choose Analyze and choose File and choose   Print ( button in the Analyzing workspace; Alt-F, P) and print to a file.
Copy text from the Summary tab Copy individual entries by dragging through the text and pressing Ctrl-C. For a copy of the entire tab, you must use the er_print command.


Can't find what you are looking for? Submit your comments at http://www.sun.com/hwdocs/feedback.
Legal Notices