cpupower: Show Intel turbo ratio support via ./cpupower frequency-info
authorThomas Renninger <trenn@suse.de>
Thu, 21 Jul 2011 09:54:53 +0000 (11:54 +0200)
committerDominik Brodowski <linux@dominikbrodowski.net>
Fri, 29 Jul 2011 17:37:25 +0000 (19:37 +0200)
commit8fb2e440b223b966f74a04a48f6f71f288fa671b
tree3a9f2c19c039072d0b2641385bf0e6897bed2361
parent76b659a31df5174d71832b7882ef31b32e1f8d59
cpupower: Show Intel turbo ratio support via ./cpupower frequency-info

This adds the last piece missing from turbostat (if called with -v).
It shows on Intel machines supporting Turbo Boost how many cores
have to be active/idle to enter which boost mode (frequency).

Whether the HW really enters these boost modes can be verified via
./cpupower monitor.

Signed-off-by: Thomas Renninger <trenn@suse.de>
CC: lenb@kernel.org
CC: linux@dominikbrodowski.net
CC: cpufreq@vger.kernel.org
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
tools/power/cpupower/utils/cpufreq-info.c
tools/power/cpupower/utils/helpers/cpuid.c
tools/power/cpupower/utils/helpers/helpers.h
tools/power/cpupower/utils/helpers/msr.c