Source view helps you pinpoint the problem areas in your code. It shows source code and/or the disassembly code of one source file in the monitored module, annotated with additional information about the code.
The VTune(TM) Performance Analyzer displays the source code for any program that has been compiled with the line information.
If the source file is not available, the VTune analyzer prompts you for the missing file. If you cannot provide the file, you can still display the disassembled code.
Typically, you drill-down to source view after performing an initial analysis such as sampling analysis, or call graph profiling.
The source view contains these panes:
Source pane. The upper pane contains the code and related information about each code line.
Function summary pane.
The lower pane contains information about the functions in the monitored
source file, and all selected functions in the
function summary pane.
The first row in the function summary is the Selected
Range row. When you select several functions in the function summary
pane, this row provides the summary information for the selected functions.
When working from the command line, use the -code option to open the source view after performing an initial analysis, such as sampling analysis or call graph profiling. The source view contains the code and related information about each code line.
From source view you can see:
The percentage of processor time spent in each section of the code or the number of samples collected for particular sections during sampling.
For sampling collection: the event information per source or disassembly line, or performance indicators (event ratios) based on events sampled during event-based sampling.
For call graph profiling: call count and call time information.
Disassembly code annotated with the static assembly analysis data.
To display the source view command-line help, type in: vtl -help -v source.
To display the manual page for the quick overview of the source view options, enter: man 7 source OR man 7 code.
Click the following buttons for more information about source view:
last updated: June 10, 2009