Intel® VTune™ Amplifier
To run an analysis from command line, use any of the following actions:
To run an analysis from the command line, do the following:
For a list of available predefined analysis types, enter:
amplxe-cl -help collect
Intel® VTune™ Amplifier displays all collection options and provides a list of available predefined analyses that can be categorized into the following analysis modules:
| Analysis | Analysis Type | Description |
|---|---|---|
| Algorithm Analysis | Basic Hotspots |
Analyze application flow and identify sections of code that take a long time to execute (hotspots). |
| Advanced Hotspots |
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. |
|
| Concurrency |
Collect data on how an application is using available logical CPUs, discover where parallelism is incurring synchronization overhead, and identify potential candidates for parallelization. |
|
| Locks and Waits |
Identify where an application is waiting on synchronization objects or I/O operations, and discover how these waits affect the application performance. |
|
| HPC Characterization |
NoteThis 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. |
|
| Microarchitecture Analysis | General Exploration |
Collect hardware events for analyzing a typical client application. This analysis calculates a set of predefined ratios used for the metrics and facilitates identifying hardware-level performance problems. |
| Memory Access |
Identify memory-related issues, like NUMA problems and bandwidth-limited accesses, and attribute performance events to memory objects (data structures), which is provided due to instrumentation of memory allocations/de-allocations and getting static/global variables from symbol information. |
|
| SGX Hotspots | Analyze hotspots inside security enclaves for systems with the Intel Software Guard Extensions (Intel SGX) feature enabled. This analysis type uses the the INST_RETIRED.PREC_DIST hardware event that emulates precise clockticks and helps identify performance-critical program units inside enclaves. | |
| TSX Exploration |
Collect events that help understand Intel Transactional Synchronization Extensions (Intel TSX) behavior and causes of transactional aborts. |
|
| TSX Hotspots |
Monitor the UOPS_RETIRED.ALL_PS hardware event that emulates precise clockticks and identify performance-critical program units inside transactions. |
|
| Platform Analysis | CPU/GPU Concurrency |
Explore code execution on the various CPU and GPU cores in your system, correlate CPU and GPU activity and identify whether your application is GPU or CPU bound. |
| System Overview |
Evaluate general behavior of Linux* or Android* target systems and correlate power and performance metrics with IRQ handling. This analysis is supported by VTune Amplifier for Systems only. |
For a list of available custom analysis types, enter:
amplxe-cl -help collect-with
Intel® VTune™ Amplifier displays all collection options and provides a list of available collection types that can used for custom analysis:
| Collection | Description |
|---|---|
| Hardware Event-based Sampling Collection (runsa) |
Profile your application using the counter overflow feature of the Performance Monitoring Unit (PMU). |
| User-mode Sampling and Tracing Collection (runss) |
Profile the application execution and take snapshots of how that application utilizes the processors in the system. The collector interrupts a process, collects the value of all active instruction addresses and captures a calling sequence for each of these samples. |
To run a predefined performance analysis from the command line, enter:
amplxe-cl -collect <analysis_type> [<-knob> <knob_name=knob_option>] [--] <target>
where
<analysis_type> is the type of analysis to run. To see the list of available analysis types, enter:
amplxe-cl -help collect
<-knob> is a configuration option that modifies the analysis
[knob_name=knob_option] is the name of the specified knob and its value
<target> is the path and name of the application to analyze
To run a custom analysis from the command line, enter:
amplxe-cl -collect-with <collection_type> [<-knob> <knob_name=knob_option>] [--] <target>
where
<collection_type> is the type of analysis to run. To see the list of available collection types, enter:
amplxe-cl -help collect-with
<-knob> is an option that configures the analysis
[knob_name=knob_option] is the name of specified knob and its value
<target> is the path and name of the application to analyze
After collecting performance results for your target, you can view the results in the GUI or generate a formatted analysis report.