Before starting the trace in the WPRUI you want to ensure an isolated environment as much as possible, this inlcudes putting your mobile device into airplane mode or disconnecting your ethernet cable if your app does not need the internet so that a Windows update doesn't just so happen to be occurring during the time of the trace collection. As you can imagine, a background Windows Update will skew the results of what you see in WPA.
- [Voiceover] Before I start collecting data with…the Windows Performance Recorder,…let's set up the profile environment.…Remember, close any applications that you do not need open.…Disconnect the power plug if you are on your mobile device.…And because this XNA application does not need the Internet,…put the system into airplane mode, or disable the Internet.…Go to the Desktop and double-click…on the WPR UI shortcut icon.…Now deselect this first level triage,…and also make sure that everything under…the scenario analysis is deselected,…and do the same for the Resource Analysis section.…
As you can see there are different events that…can be collected, but here I'm only interested…in the CPU usage,…the power usage, and the GPU activity.…The reason to only select these options,…and not check mark every box,…is because with every box that you select,…the Windows Performance Recorder itself will consume…more power and have a higher overhead,…which could skew the results.…So to minimize overhead, I'm only going to select…
With these diagnostic tools and some efficient programming, you can reduce your app's power consumption while improving its response times. In this course, Thomas Pantels introduces a handful of tools used to measure and optimize power consumption. You will see demos on how to use the Intel Power Gadget, Windows Performance Toolkit, TypePerf, and SoC Watch, along with some simple coding tips for making any Windows app more energy efficient.
- Collecting and analyzing power data with Intel Power Gadget
- Implementing a rendering state machine
- Collecting and analyzing data with the Windows Performance Toolkit
- Understanding idle states, call stack walking, and thread activity
- Windows OS Timer Tick Resolution Rate change
- Optimization techniques to make your app power efficient
- Collecting, analyzing, and comparing data with Windows TypePerf and SoC Watch
Skill Level Intermediate
1. How to Use Intel Power Gadget
2. How to Use Windows Performance Toolkit
3. How to Use Windows Typeperf
4. How to Use Intel Energy Profiler SoC Watch
Next steps2m 27s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.