Intel® SoC Watch and Intel® VTune™ Profiler
Step 1: Configure and Install on Target System
Select the installer for your target platform. The target installer for Intel Soc Watch is located in the folder: C:\Program Files (x86)\Intel\oneAPI\socwatch\latest\socwatch_for_target.
Copy the Intel® SoC Watch installer (<install_dir>\target\windows_socwatch\socwatch_windows_<version> .msi) to the target Windows system.
Run the installer on the target system. The package includes a user's guide, and an End User License Agreement. By default, the Intel SoC Watch collector is installed in the C:\Program Files (x86)\Intel\SoCWatch directory.
Navigate to the Intel SoC Watch installation directory.
Alternatively, set your PATH environment variable to point to the installed bin directory containing socwatch.exe any of the following ways:
- Update the PATH variable in the Control Panel.
- Execute set PATH=<value>;%PATH% command to temporarily set the variable in the current command prompt.
Now you are ready to begin collection.
For more information, including additional configuration options, see the Intel SoC Watch User's Guide located in the directory in which the collector is installed or available online.
Step 2: Collect Data
- Open a command prompt with administrative privileges on the target system with Intel® SoC Watch installed.
Run the command below to capture CPU time in low power states over a 60-second period and import the result to the Intel® VTune™ Profiler.
socwatch -t 60 -f cpu-cstate -m -o results/test -r vtune
The report file is saved to the results directory as test.pwr.
Step 3: View Results
When collection completes, a message appears with the location of the result files. In this example, the summary report is located in the current directory in the results/test.pwr file.
Copy the report file test.pwr from the target system to the host system.
Import the file to the Intel® VTune™ Profiler project:
Launch Intel VTune Profiler GUI on the host system.
Create a new project or open an existing one.
Click Import Result and navigate to the test.pwr file.
The results are opened in the default Platform Power Analysis viewpoint.
For detailed information about using Intel SoC Watch, see the Energy Analysis User Guide .