Sun Studio 12: Performance Analyzer

The Performance Analyzer Window


Note –

The following is a brief overview of the Performance Analyzer window. See Chapter 4, The Performance Analyzer Tool and the online help for a complete and detailed discussion of the functionality and features of the tabs discussed below.


The Performance Analyzer window consists of a multi-tabbed display, with a menu bar and a toolbar. The tab that is displayed when the Performance Analyzer is started shows a list of functions for the program with exclusive and inclusive metrics for each function. The list can be filtered by load object, by thread, by lightweight process (LWP), by CPU, and by time slice.

For a selected function, another tab displays the callers and callees of the function. This tab can be used to navigate the call tree—in search of high metric values, for example.

Two other tabs display source code that is annotated line-by-line with performance metrics and interleaved with compiler commentary, and disassembly code that is annotated with metrics for each instruction and interleaved with both source code and compiler commentary if they are available.

The performance data is displayed as a function of time in another tab.

Other tabs show details of the experiments and load objects, summary information for a function, memory leaks, and statistics for the process.

Other tabs show Index Objects, Memory Objects, Data Objects, Data Layout, Lines, and PCs. See the Analyzer Data Displays for more information about each tab.

For experiments that have recorded Thread Analyzer data, tabs for data Races and Deadlocks are also available. Tabs are shown only if the loaded experiments have data supporting them.

See the Sun Studio 12: Thread Analyzer User’s Guide for more information about Thread Analyzer.

You can navigate the Performance Analyzer from the keyboard as well as with a mouse.