After making those code changes to implement the Rendering State Machine and validating the changes took effect (run the app and the timer no longer updates), you are going to want to recollect power data. This procedure is the same as the collectiong that was done for the non-optimized version of the Jigsaw Puzzle app. You will be shown the collectiong process on the new and improved Jigsaw Puzzle app so that you are more familiar with how you want to collect, optimize and recollect for later comparisons on the different iterations of your own application.
- [Voiceover] Now that I've made…those power optimization code changes,…I'll go back to the Intel Power Gadget…power log Command Prompt and perform another collection…on this new and improved version of the Jigsaw Puzzle.…Remember, you want to close any unneeded applications…before running power log and also remember…that you want to be set in airplane mode…on your mobile device or have the Internet disconnected.…Once that's done, I'll run the Command Prompt as admin…and then navigate back to where to power log command line…version of the tool is located, which is in…C:\program files\Intel\Power Gadget.…
I'm going to use the same command line options…that I ran previously.…A key thing to note is that you want…to keep the testing conditions exactly the same…for each version of your application.…This will make the comparisons you do later on…much more meaningful and consistent.…I'll input JigsawPuzzle_optimized.csv…and press Enter to start logging.…Now I'll launch the new Jigsaw Puzzle and as before,…after the application launches,…
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.