tools/power turbostat: print more turbo-limit information
authorLen Brown <len.brown@intel.com>
Fri, 21 Sep 2012 04:01:31 +0000 (00:01 -0400)
committerLen Brown <len.brown@intel.com>
Wed, 26 Sep 2012 22:15:48 +0000 (18:15 -0400)
commit6574a5d5053cd3b8e7c088900b80a9ff51895450
tree69b021fa6d2bed1609be3e66a82ce256e198bca7
parentd7db69016548c4bf3bec3556f6a15b9332dae34f
tools/power turbostat: print more turbo-limit information

The "turbo-limit" is the maximum opportunistic processor
speed, assuming no electrical or thermal constraints.
For a given processor, the turbo-limit varies, depending
on the number of active cores.  Generally, there is more
opportunity when fewer cores are active.

Under the "-v" verbose option, turbostat would
print the turbo-limits for the four cases
of 1 to 4 cores active.

Expand that capability to cover the cases of turbo
opportunities with up to 16 cores active.

Note that not all hardware platforms supply this information,
and that sometimes a valid limit may be specified for
a core which is not actually present.

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