当前位置: 首页 > 工具软件 > VTune > 使用案例 >

Vtune how to use?

赏星河
2023-12-01
 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) Amplifier XE 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 the home/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 home/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


 类似资料:

相关阅读

相关文章

相关问答