]> git.baikalelectronics.ru Git - kernel.git/commit
tools/power turbostat: add precision to --debug frequency output
authorLen Brown <len.brown@intel.com>
Thu, 12 Jan 2017 03:12:25 +0000 (22:12 -0500)
committerLen Brown <len.brown@intel.com>
Wed, 1 Mar 2017 05:14:02 +0000 (00:14 -0500)
commit32c27fe28ea011679fae0b1517d6d74dcf6d057c
treecf3e51d5ad33f9534fe471cc047d8a9cfee30249
parent828dcad6c217276a264ed6719648fd4af4229651
tools/power turbostat: add precision to --debug frequency output

Add a digit of precision to the --debug output for frequency range.
This is useful when BCLK is not an integer.

old:
6 * 83 = 500 MHz max efficiency frequency
26 * 83 = 2166 MHz base frequency

new:
6 * 83.3 = 499.8 MHz max efficiency frequency
26 * 83.3 = 2165.8 MHz base frequency

Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c