Intel® VTune™ Amplifier

Running Algorithm Analysis from the Command Line

Intel® VTune™ Amplifier introduces analysis types targeted for software tuning. Use the amplxe-cl command tool to run the following algorithm analysis types:

Basic Hotspots Analysis

Basic Hotspots analysis helps understand application flow and identify sections of code that get a lot of execution time (hotspots).

Use the following command line syntax to run the Basic Hotspot analysis from the command line:

$ amplxe-cl -collect hotspots [<-knob> <knob_name=knob_option>] [--] <target>

Note

For the most current information on available knobs (configuration options) for the Basic Hotspots analysis, enter:

$ amplxe-cl -help collect hotspots

Example

This example shows how to run the Basic Hotspots analysis on myApplication with predefined settings:

$ amplxe-cl -collect hotspots -- home/test/myApplication

Advanced Hotspots Analysis

Advanced Hotspots analysis uses the OS kernel support or VTune Amplifier kernel driver to extend the Hotspots analysis by collecting call stacks, context switch and statistical call count data as well as analyzing the CPI (Cycles Per Instruction) metric.

Use the following command line syntax to run the Advanced Hotspots analysis from the command line:

$ amplxe-cl -collect advanced-hotspots [<-knob> [knob_name=knob_option]] [--] <target>

Note

For the most current information on available knobs (configuration options) for the Advanced Hotspots analysis, enter:

$ amplxe-cl -help collect advanced-hotspots

Example

This example shows how to run the Advanced Hotspots analysis on myApplication with CPU sampling interval set to 10 ms:

$ amplxe-cl -collect advanced-hotspots -knob sampling-interval=10 -- home/test/myApplication

Concurrency Analysis

Concurrency analysis collects data on how an application is using available logical CPUs, discovers where parallelism is incurring synchronization overhead, and identifies potential candidates for parallelization. This analysis type uses user-mode sampling and tracing collection.

Use the following command line syntax to run the Concurrency analysis from the command line:

$ amplxe-cl -collect concurrency [<-knob> <knob_name=knob_option>] [--] <target>

Note

For the most current information on available knobs (configuration options) for the Concurrency analysis, enter:

$ amplxe-cl -help collect concurrency

Example

This example shows how to run the Concurrency analysis on myApplication with predefined settings:

 $ amplxe-cl -collect concurrency -- home/test/myApplication

Locks and Waits Analysis

Locks and Waits analysis identifies where an application is waiting on synchronization objects or I/O operations, and discovers how these waits affect the application performance. This analysis type uses user-mode sampling and tracing collection.

Use the following command line syntax to run the Locks and Waits analysis from the command line:

$ amplxe-cl -collect locksandwaits [<-knob> <knob_name=knob_option>] [--] <target>

Note

For the most current information on available knobs (configuration options) for the Locks and Waits analysis, enter:

amplxe-cl -help collect locksandwaits

Example

This example shows how to run the Locks and Waits analysis on myApplication with enabled GPU usage analysis based on DirectX pipeline events:

$ amplxe-cl -collect locksandwaits -knob enable-gpu-usage=true -- home/test/myApplication

HPC Performance Characterization Analysis

Note

This is a PREVIEW FEATURE. A preview feature may or may not appear in a future production release. It is available for your use in the hopes that you will provide feedback on its usefulness and help determine its future. Data collected with a preview feature is not guaranteed to be backward compatible with future releases. Please send your feedback to parallel.studio.support@intel.com in the next 30 days.

HPC Performance Characterization analysis helps identify opportunities to optimize CPU, memory, and FPU utilization for compute-intensive or throughput applications. The HPC Performance Characterization analysis type is a starting point for understanding the performance landscape of your application. Use this analysis type to improve application performance by increasing the number of floating-point operations per second (GFLOPS) and reducing the overall application run time. The analysis collects data related to CPU, memory, and FPU utilization. Additional scalability metrics are available for applications that use OpenMP or MPI runtime libraries.

Use the following command line syntax to run the HPC Performance Characterization analysis from the command line:

$ amplxe-cl -collect hpc-performance [<-knob> <knob_name=knob_option>] [--] <target>

Note

For the most current information on available knobs (configuration options) for the HPC Performance Characterization analysis, enter:

amplxe-cl -help collect hpc-performance

Example

The following example runs the HPC Characterization analysis on the application with enabled memory bandwidth analysis:

$ amplxe-cl -collect hpc-performance -knob collect-memory-bandwidth=true home/test/myApplication

See Also