In this video you will learn more about the Windows OS timer tick resolution rate and how to use the Windows Performance Analyzer to make the connection between CPU usage and power consumption. It is in this video that you will see how certain Windows APIs can effect heavy CPU usage which in turn causes significantly higher power consumption by your application.
- View Offline
- Exercise Files
- [Voiceover] In WPA, the rendering thread…for the bouncing sprite application was seen…coming in more frequently than the OS timer tick default…of 15.6 milliseconds, to verify this I have…this folder here called Timer Scripts, which…is included in the Exercise Files, if you don't…have access to the Exercise Files, I go over…the start and stop commands, so just pause the video…and copy what you see into Notepad,…and make sure you save the files with an extension…of .CMD, now if I right click on the start.cmd file,…and click Edit, I can see what commands are inside.…
Here you'll see something called Xperf, now Xperf…is the command line tool that is still supported…in the Windows performance toolkit, as far as Xperf…command line options, you can find those on the MSDN…site located here.…Even though it says here "applies to Windows 8", Xperf…works on Windows 7 and 10 as well, Xperf…is a powerful command line tool with many options,…but I'm only going to focus on the command line…options that are being used in the start and stop CMD files.…
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
Developing Universal Windows Appswith Stacey Mulcahy2h 13m Beginner
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.