The command line option that lets use change the default sampling rate is "-resolution msec" and is used to change the logging frequency to 2 seconds. For example a command that lets us change the logging frequency to 2 seconds is "PowerLog3.0.exe -resolution 2000 -duration 30 -file log_file.csv". The reason why someone would want to have a longer sampling rate is because energy counters are read via Interrupts and sampling at 100ms will cost more power than sampling at 2 seconds. This is useful when profiling an application's update service or when in connected standby. When collecting for long duration i.e. 5 minutes you want decrease the freqency at which the energy counters are read so that the power overhead of the Power Gadget tool is not too impacting.
(soft chime)…- [Voiceover] Now that you've had some time…to go over the challenger questions,…let's look at the solution.…Now, the first question asked,…"The Intel Power Gadget collects power data…"every 100 milliseconds.…"What command would you put…for the command line version of the tool…to change that sampling rate?"…The solution, the PowerLog command…with the -resolution command line option…is what you needed to have…in order to change the sampling rate…from something other than the default.…Now the next part of that challenger question was…basically, if you want to change the sampling rate…to every two seconds,…meaning you collect a sample every two seconds…rather than every 100 milliseconds,…what command would you put to do that?…The -resolution option takes input parameter in milliseconds…so the 2000 means two seconds.…
The duration right there is 3600 seconds.…A great scenario for this would be connected standby.…If you're profiling a machine for, say,…30 minutes to an hour, and you're collecting…a sample every 100 milliseconds,…
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.