Thread activity inspection is another very handy technique to have. By inspecting how often each thread or a certain type of thread comes in can help you pinpoint power related issues. Here you are shown that the rendering thread of the Bouncing Sprite application is coming far too often which corresponds to that notoriously high FPS. Here you are shown how chart and filter settings to incorporate into your WPA in order to easily inspect threads coming in and more importantly if they are coming in too often. You will also be introduced to the Windows OS Timer Tick Rate Resolution change concept and how this can drastically effect overall power consumption on any Windows machine.
- [Voiceover] On the left-hand pane, scroll all the way up,…and under the Computation category,…you should see CPU Usage (Precise).…The difference between CPU Usage (Precise) and (Sampled),…is that the CPU Usage (Precise) will show the call path…to a context switch.…If a function is changing the OS Timer Tick resolution rate,…from the Windows default of 15.6 milliseconds…down to something smaller,…then that means the system clock interrupt…will come in much more frequently,…meaning, the application is going to have…a lot more context switches,…and the interrupt rate will be much higher.…
It's because of this Timer Tick resolution rate change issue…that the BouncingSprite is unintendedly changing…in order to present frames at a faster rate.…Most likely, to ensure a smoother user experience.…Now, on the left-hand pane,…let's expand the CPU Usage (Precise)…and under the CPU Usage (Precise) you will see sub-charts.…And you want to find the chart called…Timeline by Process Thread.…And you want to drag and drop that over onto the right pane.…
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 38s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
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.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.