Use the following Intel® VTune™ Amplifieramplxe-cl command syntax:
amplxe-cl <-action> [-action-option] [-global-option] [[--] <target> [target-options]]
| The name of the VTune command line tool. |
| 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-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. NoteLong 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 |
| Global-options modify behavior in the same manner for all actions. You can have multiple global-options per action. |
| The target application to analyze. |
| Options for the application. |
Note
To access the most current command line documentation for an action, enter amplxe-cl -help <action>
, where <action> is one of the available actions. To see all available actions, enter amplxe-cl -help
.
Example
This example runs the Basic Hotspots analysis for the sample.exe
target located at the C:\test
directory, 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 C:\test\sample.exe
where:
-collect
is an actionhotspots
is an argument of the action-result-dir
is an action-optionr001hs
is an argument of the action-optionsample.exe
is a target-quiet
is a global-option
See Also
Supplemental documentation specific to a particular Intel Studio may be available at <install-dir>\<studio>\documentation\
.