インテル® VTune™ Amplifier 2018 ヘルプ

Running Energy Analysis with Intel® VTune™ Amplifier

To analyze the power consumption of your Android*, Windows*, or Linux* platform, run the Intel® SoC Watch collector and view the collection results using Intel VTune Amplifier.

Using the data visualization provided by Intel VTune Amplifier, along with the detailed summary reports generated by Intel SoC Watch, a user can measure, debug, and optimize system power consumption. Data collection can occur on the system where Intel VTune Amplifier is installed or on a target system.

Note

The standalone, Intel System Studio, and Intel Parallel Studio versions of the VTune Amplifier all support the import of Intel SoC Watch results.

Run Analysis on a Target System

Prerequisites: The Intel SoC Watch collector is installed on the target system. For detailed instructions on configuring your environment, see the Installation section of the Intel SoC Watch Release Notes for your target system's operating system. The latest Intel SoC Watch documents are available online at the Intel Developer Zone site. You can also find a copy on the host system in the targets directory after installing Intel System Studio or on the target system in the product's documentation directory after extracting the Intel SoC Watch package.

  1. Run the Intel SoC Watch command line tool on the target system, specifying the metrics to collect and length of time to run. Data collection can occur on an idle system or run concurrently with a workload that is started at any time before or during the collection. You must have administrative/root privileges when you run the command.

    For example, to run a collection for 1 minute (-t 60), gather data about how much time the CPU spends in low power states (-f cpu-cstate), include trace data (-m), generate results that can be imported into VTune Amplifier (-r sww on Windows or -r vtune on Linux or Android), and store the reports in a specified directory location with the specified file name (-o results/test), you would use:

    socwatch -t 60 -f cpu-cstate -m -r sww/vtune -o results/test

    For more information, see the Intel SoC Watch User's Guide (Linux and Android | Windows). The Getting Started or Quick Start sections of the guide contain collection commands to get you started.

  2. To view a text summary report, open the *.csv file on the target system or copy it to the host system and open it there. The summary result file for the example would be available in results/test.csv.

    To view the results in VTune Amplifier, copy the result import file to the host system where VTune Amplifier is installed. The import files have either a *.pwr (Android or Linux) or *.sww1 (Windows) extension. For example, the files from the example would be results/test.pwr or results/test.sww1.

  3. Launch VTune Amplifier on the host system.

  4. Open or create a project.

  5. Click the Import Result button on the toolbar and browse to the result file that you copied from the target system.

    When the import completes, the Platform Power Analysis viewpoint opens automatically.

関連情報