Home
last modified time | relevance | path

Searched hist:c3ae331d1c2fe25edfbece73fda0bb312445b636 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/power/x86/turbostat/
H A Dturbostat.cdiff c3ae331d1c2fe25edfbece73fda0bb312445b636 Wed Jun 13 20:31:46 CDT 2012 Len Brown <len.brown@intel.com> tools/power: turbostat: fix large c1% issue

Under some conditions, c1% was displayed as very large number,
much higher than 100%.

c1% is not measured, it is derived as "that, which is left over"
from other counters. However, the other counters are not collected
atomically, and so it is possible for c1% to be calaculagted as
a small negative number -- displayed as very large positive.

There was a check for mperf vs tsc for this already,
but it needed to also include the other counters
that are used to calculate c1.

Signed-off-by: Len Brown <len.brown@intel.com>