Intel® VTune™ Amplifier for Systems Performance Profiler with Intel® Energy Profiler helps you speed up and optimize execution of your code on Linux* embedded platforms, Android*, or Windows* systems providing the following types of analysis:
Performance analysis: Find serial and parallel code bottlenecks, analyze algorithm choices, GPU engines usage, and understand where and how your application can benefit from available hardware resources.
Intel Energy Profiler analysis: Analyze power events and identify those that waste energy.
VTune Amplifier for Systems is available as part of the Intel System Studio.
Note
Local data collection on the OS X platforms is not possible.
Prerequisites
For remote analysis, set up your target Linux* | Android* system.
For hardware event-based sampling analysis, make sure you have the sampling driver installed on your target system. Note that for Linux targets the sampling driver detects the kernel update and automatically attempts to rebuild and load the driver at the boot time. If, for some reasons, the sampling driver cannot be installed, the VTune Amplifier automatically enables driverless Perf*-based collection providing limited event-based sampling analysis options.
For Intel Energy Profiler analysis, make sure to have the appropriate drivers installed for your target Linux | Android system.
For system requirements, see the product Release Notes.
Get Started with Performance Analysis
Step 1: Start the VTune Amplifier
For GUI interface, start the VTune Amplifier from the Launchpad or run the
amplxe-gui
command.For command line interface, run the
amplxe-cl
command.
By default, the product is installed to /Applications/Intel VTune Amplifier 2016 for Systems.app
.
Step 2: Create a Project for Your Remote Analysis Target
Build your target application in the Release mode with all optimizations enabled.
- Create a VTune Amplifier project:
Click the
menu button in the right corner and go to New > Project... .
Specify the project name and location in the Create Project dialog box.
In the Analysis Target tab, select a remote Linux or Android target system from the left pane and select an analysis target type from the right pane.
Configure your target: application location, parameters and search directories (if required).
: Select Arbitrary Targets to analyze a target that is not currently accessible from this host system. You can select a hardware platform and operating system from the list, create a command line analysis configuration, save it to the buffer, and run it later on the intended host.
Step 3: Configure Analysis
Switch to the Analysis Type tab.
From the left pane, select an analysis type applicable to your remote platform and configure analysis options in the right pane.
Click the Start button on the right to launch the analysis.
Step 4: View and Analyze Performance Data
When data collection completes, the VTune Amplifier opens the result in the default viewpoint, which is a preset configuration of windows for an analysis result. You may switch between different viewpoints to analyze the data from different perspectives using different sets of performance metrics.
Start your analysis with the Summary window to get an overview of the application performance and then switch to other windows to explore the performance deeper at the granularity of function, source line and so on.
Get Started with Energy Analysis
Depending on your target system, the VTune Amplifier uses different collectors for energy and power analysis.
Android* Targets:
- Connect to the target Android system via an adb shell command.
Load device drivers and install the Intel SoC Watch collector on the target Android system.
Run the data collection on the target. For example:
>./socwatch -t 60 -f cpu-cstate -m -r vtune -o ./results/test
where:
-t 60
specifies collection duration in seconds,-f cpu-cstate
enables C-state and wakeups analysis,-m
specifies the maximum level of detail, and-r vtune
creates a*.pwr
file that can be imported into VTune Amplifier. The analysis result*.pwr
file will be located in the./results/test
directory.Copy the result file (
*.pwr
) to the host.Open/create a VTune Amplifier project and click the
Import toolbar button to import the energy analysis result file into the project.
Explore the Platform Power Analysis viewpoint to view the collected data.
Linux* Targets:
Load device drivers and install the Intel SoC Watch collector on the target Linux system.
Run the data collection on the target. For example:
>./socwatch -t 60 -f cpu-cstate -m -r vtune -o ./results/test
where:
-t 60
specifies collection duration in seconds,-f cpu-cstate
enables C-state and wakeups analysis,-m
specifies the maximum level of detail, and-r vtune
creates a*.pwr
file that can be imported into VTune Amplifier. The analysis result*.pwr
file will be located in the./results/test
directory.Copy the result file (
*.pwr
) to the host.Open/create a VTune Amplifier project and click the
Import toolbar button to import the energy analysis result file into the project.
Explore the Platform Power Analysis viewpoint to view the collected data.
Training and Documentation
Legal Information
Intel, VTune and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries.
* Other names and brands may be claimed as the property of others.
Microsoft, Windows, and the Windows logo are trademarks, or registered trademarks of Microsoft Corporation in the United States and/or other countries.
Copyright © 2016, Intel Corporation. All rights reserved.