Intel® VTune™ Amplifier XE and Intel® VTune™ Amplifier for Systems Help

Running Intel® Energy Profiler Analysis on a Target System

To analyze the power consumption of your Android*, Windows*, or Linux* application, install and run the Intel® SoC Watch collector on the target system and view the collection results in the Platform Power Analysis viewpoint.

To collect power consumption data on an Android*, Windows*, or Linux* application:

Prerequisites: The appropriate Intel® SoC Watch collector is installed on the target system. If you are using an Android or Linux target system, make sure it is connected via ADB or Cygwin to the host system with Intel® System Studio installed.

  1. Run the Intel SoC Watch collector on your target system.

    For example, use the following command to collect processor sleep state (C-state) and processor frequency (P-state) data for 60 seconds and generate an import file for use in Intel VTune Amplifier. Only the result option (-r) differs between platforms.

    On an Android or Linux system:

    ./socwatch –-max-detail –f cpu-cstate –f cpu-pstate –t 60 -r vtune –o ./results/test

    Note

    Avoid using CTRL+C via ADB to terminate an Intel SoC Watch collection when running from a Windows host. Instead, use a timed collection or a Linux host.

    On a Windows system:

    socwatch –-max-detail –f cpu-cstate –f cpu-pstate –t 60 -r sww –o ./results/test

    Power consumption data is collected and saved in a *.sww1 (for Windows OS)/*.pwr (for Android or Linux OS) file in the results directory.
  2. Copy the Intel SoC Watch result file to the host system.
  3. Launch the VTune Amplifier GUI.
  4. Create/Open a VTune Amplifier project.
  5. Import the appropriate result file (Windows: *.sww1, Android/Linux: *.pwr) to the VTune Amplifier project using the Import Result button on the toolbar. To import a result from the VTune Amplifier command line, use the -import option and then open the imported result using the Open Result button.

    Example:

    $amplxe-cl –import <path_to_import_file> –r <project_name>

VTune Amplifier opens your result in the Platform Power Analysis viewpoint.

See Also