android_kernel_xiaomi_sm8350/tools/power/x86
Len Brown c3ae331d1c 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>
2012-07-19 22:26:33 -04:00
..
turbostat tools/power: turbostat: fix large c1% issue 2012-07-19 22:26:33 -04:00
x86_energy_perf_policy tools/power x86_energy_perf_policy: fix print of uninitialized string 2011-07-15 23:39:00 -04:00