Running Energy Analysis Using Intel® System Studio

You can collect energy metrics and analyze the data graphically using Intel System Studio 2018 and later.

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.

You can collect data on a Linux* or Android* target system from a Linux or Windows* host system using the Intel SoC Watch collector launched from within the Intel System Studio graphical user interface and visualize the results graphically in a variety of ways. The Intel System Studio GUI provides a simple interface to configure a collection, a dynamic timeline view for interacting with the data, and the ability to compare multiple results or apply special analysis types to get better insights.

Note

Energy analysis data collected on a Linux, Windows, or Android* target system can be imported and visualized with Intel VTune Amplifier. For more information, see Running Energy Analysis with Intel® VTune™ Amplifier.

Run Analysis from a New Project

  1. Create a new energy analysis project by selecting File > New > Project.

  2. In the New Project window, select Energy Analysis > Energy Analysis Plugin for Intel® SoC Watch and click Next.

  3. On the Create new project for Energy Analysis window, specify your project properties.

    1. Provide a project name and location to store the project.

    2. Specify the target system you want to analyze.

      • To analyze the local system, select Local Machine

      • To analyze a remote Linux system, select Remote Linux and provide the full machine name and user name. You will be asked for a password at the time of data collection.

      • To analyze an Android system, select Android ADB and connect to the Android target via ADB.

    3. Specify the location of the Intel SoC Watch binary file. If possible, the binary will automatically install the drivers on the target system. If not, the drivers can be installed manually. For more information about installing Intel SoC Watch and building the drivers, see Preparing a Target Linux* System for Energy Analysis or Preparing a Target Android* System for Energy Analysis.

  4. Click Finish to create the new project and configure your collection.

  5. Select the metrics you want to collect, the output formats you want to create, and the collection duration, polling interval, and detail level. You can also specify a workload to run during data collection to see the impact on energy usage.

    Note

    The json output format is required to visualize the results in Intel System Studio.

  6. Click OK to begin the collection. If you specified a remote Linux target, you may be prompted to enter a password.

  7. After the collection ends, it is post-processed and a Finished button appears. The collection results appear in a directory under the Energy Analysis project and are opened automatically.

Run Analysis from an Existing Project

  1. In the Project Explorer, right-click the project you just created and select Run Energy Analysis.

  2. Select the metrics you want to collect, the output formats you want to create, and the collection duration, polling interval, and detail level. You can also specify a workflow to run during data collection to see the impact on energy usage.

    Note

    The json output format is required to visualize the results in Intel System Studio.

  3. Click OK to begin the collection. If you specified a remote Linux target, you may be prompted to enter a password.

  4. After the collection ends, it is post-processed and a Finished button appears. The collection results appear in a directory under the Energy Analysis project and are opened automatically.

For more complete information about compiler optimizations, see our Optimization Notice.