amplxe-cl Command Syntax

Use the following Intel® VTune™ Amplifier amplxe-cl command syntax:

$ amplxe-cl <-action> [-action-option] [-global-option] [[--] <target> [target-options]]

amplxe-cl

The name of the VTune Amplifier command line tool.

<-action>

The action to perform, such as collect or report. There must be only one action per command. So you cannot, for example, collect data and generate a report with the same command.

[-action-option]

Action-options modify behavior specific to the action. You can have multiple action-options per action. Using an action-option that does not apply to the action results in a usage error.

Note

Long names of the options can be abbreviated. If the option consists of several words you can abbreviate each word, keeping the dash between them. Make sure an abbreviated version unambiguously matches the long name. For example, the -option-name option can be abbreviated as -opt-name, -op-na, -opt-n, or -o-n.

[-global-option]

Global-options modify behavior in the same manner for all actions. You can have multiple global-options per action.

[--] <target>

The target application to analyze.

Note

You may use amplxe-cl to analyze remote targets running on regular or Linux* or Android* systems.

[target-options]

Options for the application.

Example

This example runs the Hotspots analysis for the sample target located at the /home/test/ directory on a Linux* system, saves the analysis result in the r001hs subdirectory of the current directory, and displays the default summary report.

$ amplxe-cl -collect hotspots -result-dir r001hs -quiet /home/test/sample

where:

  • -collect is an action

  • hotspots is an argument of the action

  • -result-dir is an action-option

  • r001hs is an argument of the action-option

  • -quiet is a global-option

  • sample is a target

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)