Vtune how to use?

来源:互联网 发布:手机美发软件 编辑:程序博客网 时间:2024/04/30 14:26
 Usage: amplxe-cl <-action> [-action-option] [-global-option] [[--] target [target options]]
 
 To view the results in the IDE, double-click the <resultname>.amplxe
 file located in the result directory.
 
 Type 'amplxe-cl -help <action>' for help on a specific action.
 

Available Actions:
 
    collect
    collect-with
    command
    finalize
    help
    import
    report
    version


Examples:
 

 1) Perform the hotspots collection on the given target.
 
    amplxe-cl -collect hotspots a.out
 
 2) Generate the 'hotspots' report for the result directory 'r000hs'.
 
    amplxe-cl -report hotspots -r r000hs
 
 3) Display help for the collect action.
 

    amplxe-cl -help collect



About amplxe-cl Command Syntax

Use the following Intel(R) VTune(TM) AmplifierXE amplxe-clcommand syntax:

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

where:

  • <action> is the action the Intel(R) VTune(TM) Amplifier XE performs, for example: collect data or generate a performance report.

  • [action-option] is a command line option defining a behavior applicable to the specific action. You may have multiple action options per action. Using anaction option that does not apply to the action results in a usageerror.

  • [global-option] is a command line option defining a behavior applicable to all actions. You may have multiple global options per action.

  • <target> is the application to analyze.

  • [target options] are the options of the analyzed application.

Example

This example runs the Hotspots analysis for the sample target located at thehome/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 r001hshome/test/sample -quiet

where:

  • -collect is an action

  • hotspots is an argument of action option

  • -result-dir is an action option

  • r001hs is an argument of action option

  • sample is a target

  • -quiet is a global option