Skip navigation

✓ Solution: -resolution option

✓ Solution: -resolution option: Optimizing Code with Windows Power Tools
✓ Solution: -resolution option: Optimizing Code with Windows Power Tools

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.

Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 58m
Duration
4,484
Views
Show More Show Less

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now