Intel® VTune™ Amplifier XE and Intel® VTune™ Amplifier for Systems Help
After performing an analysis via the command line, you can Viewing Command Line Results in the GUI to get full benefits of Intel® VTune™ Amplifier GUI tools, or you can view a report from the command line. A variety of report types, filtering and formatting options are available.
Limitations:
You cannot use the collect and report actions in the same command, so reports must be generated from a previously collected result.
The analysis type used to collect a result determines which report types are compatible and can be used to generate reports from the result.
By default, a report is written in text format to stdout and is not saved to a file. Instructions for saving, filtering and formatting reports are provided in the following sections: Saving and Formatting Reports, Filtering and Grouping Reports.
Use the following syntax to generate a report from the command line:
$ amplxe-cl report <report_name> -result-dir <result_path> [report_options]
where:
<report_type> is the type of report that you want to create. To get the list of available report types, enter: amplxe-cl -help report. To display help for a specific report type, enter: amplxe-cl -help report <report_name>.
<result_path> is a directory where your result file is located. If you do not specify a result directory, the VTune Amplifier displays a report for the latest collected result.
[report_options] are action options used to manage the selected report. To view a list of available report action options, enter: amplxe-cl -help report <report_type>.
-R is the short form of the report action, and -r is the short form of the result-dir action-option. The command syntax for generating a report could also be written as: amplxe-cl -R <report_name> -r <result_path>
The amplxe-cl command can generate the following types of reports:
callstack
function
function-callstack
This example displays a Hotspots report for the r001hs result, presenting CPU time for the functions of the target in descending order starting from the most time-consuming function.
$ amplxe-cl -report hotspots -r r001hs
Function CPU Time CPU Time:Effective Time CPU Time:Effective Time:Idle CPU Time:Effective Time:Poor CPU Time:Effective Time:Ok CPU Time:Effective Time:Ideal CPU Time:Effective Time:Over
---------------- -------- ----------------------- ---------------------------- ---------------------------- -------------------------- ----------------------------- ----------------------------
grid_intersect 3.371s 3.371s 0s 3.371s 0s 0s 0s
sphere_intersect 2.673s 2.673s 0s 2.673s 0s 0s 0s
render_one_pixel 0.559s 0.559s 0s 0.559s 0s 0s 0s
...