Learn how to use tools like the Intel Power Gadget and Windows TypePerf to reduce the power consumption of your Windows apps—especially on smartphones and tablets.
- Hello, I'm Thomas Pantels. And welcome to optimizing code with Windows Power Tools. Nowadays, everyone uses their mobile phones, tablets, and laptops much more often than desktop workstations that are plugged in. Because of this, paying attention to your application's power consumption is very important. If I'm a user and I notice that my battery life drains every time I open your app, I'm going to be very cautious of when and how I use that app. I might even delete it altogether. On the other hand, if your application is power efficient, I'm not going to hesitate to use it as often as I like.
But what about speed and responsiveness? Don't worry, the optimization changes made to reduce power consumption often result in faster user response times, Which actually improves the overall user experience. In this course, you will see power consumption optimization in action by looking at two video game application examples. I will also show you four tools that can be used to measure the power your application currently consumes and find the root causes of unexpected power consumption. Additionally, we will explore simple code changes that can reduce application power consumption.
By the end of this course, you will be familiar enough with these tools to power profile your own application. That is, you'll be able to measure your application's power consumption and optimize it to become as power-efficient as possible. Now let's get started.
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