Intel VTune Profiler用户手册说明书

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Get Started with Energy Analysis
Get Started with Energy Analysis
Contents
Chapter 1: Get Started with Energy Analysis 2
Get Started with Energy Analysis 1
Energy Analysis with Intel® SoC Watch
Use Intel® SoC Watch to perform energy analysis on a Linux*, Windows*, or Android* system running on Intel® architecture. Study power consumption in the system and identify behaviors that waste energy. Intel SoC Watch generates a summary text report or you can import results into Intel® VTune™ Profiler.
Get the Tools
Intel® SoC Watch is available in VTune Profiler, which you can download with the Intel® oneAPI Base Toolkit.
Workflows
You perform energy analysis by examining a summary report of data collected on the target system. See if the system is using energy-efficient, low power states. If results are not optimal, you may need additional examination of the data on a timeline as well as correlating metrics to determine a cause.
There are two workflows for energy analysis:
The next few sections describe the steps involved in Option 1 to perform data collection on a target system using Intel SoC Watch.
Step 1: Install Intel SoC Watch on Target System
The Installation section of the Intel SoC Watch Release Notes (for your preferred target operating system) contains detailed instructions for instruction and configuration (if necessary).
Download Intel® oneAPI Base Toolkit and install Intel® VTune™ Profiler, which contains Intel SoC Watch.
The Installation section of the Intel SoC Watch Release Notes (for your preferred target operating system) contains detailed instructions for instruction and configuration (if necessary).
3
•Intel SoC Watch for Windows Release Notes •Intel SoC Watch for Linux Release Notes •Intel SoC Watch for Android Release Notes
Find release notes and an OS-specific user guide in the documentation\en\socwatch directory after you install Intel ® VTune ™ Profiler.
Step 2: Collect Data
1.Open a command prompt with administrative/root privileges on the target system where Intel SoC Watch was installed.
2.
Enter the command below to capture CPU time in low power states over a 60-second period.
socwatch -t 60 -f cpu-cstate -m -o results/test
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.csv file.1.
Open the test.csv file using a spreadsheet viewer (such as Microsoft Excel*) or a text viewer (such as vi/vim or Microsoft Wordpad*).
NOTE
Some text viewers give better column alignment than others.
2.
Review the tables in the report file. A partial set of tables is shown in the example report below.
Example report
:
Example report interpretation : When reading C-State tables, a higher C-State number means lower
power consumption. C0 indicates high energy consumption and C7 or C10 is the lowest energy consumption.Looking at the table in the example report, the system spent 93.65% of the collection time in the package-level C2 state while the cores were in C7, their lowest state. An area for further exploration would be what prevented the package from going into its lowest energy state.
1
Get Started with Energy Analysis
4
Get Started with Energy Analysis 1 Next Steps
After running a basic collection on a target system, consider one of these steps:
•Learn about additional data that you can collect on the target system. Run the help command: socwatch -h. The Intel SoC Watch User's Guide has a list of all provided metrics. Some metrics may not be
supported on your platform.
•Define a scenario you want to analyze for energy use. For example:
•System idle scenario, where the system is not in use during the collection time and is expected to drop its energy use to the lowest possible. Use a longer collection period (several minutes) to give the
system time to transition to deep sleep or hibernation.
•Active workload, such as video or audio playback. Start both an activity and collection for a predetermined time or let the collection run until manually stopped. Use the help command to learn about Intel SoC Watch options that allow launching a workload, delaying a collection start, and running for indefinite time.
•Generate a trace file (*.pwr) to import and view in Intel® VTune™ Profiler. Add the -r vtune option to the command line. For more information, see https:///en-us/energy-analysis-user-guide-intel-energy-analysis.
Additional Resources
Legal Information
Intel, the Intel logo, Intel Atom, Intel Core, Intel Xeon Phi, VTune and Xeon 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.
5
1 Get Started with Energy Analysis
Copyright © Intel Corporation.
This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you (License). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission.
This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License.
6。

相关文档
最新文档