commit | 7ab5ff4937a338783d147ec2d8c8714f48a5de79 | [log] [tgz] |
---|---|---|
author | Zhang Rui <rui.zhang@intel.com> | Wed Apr 21 22:22:47 2021 +0800 |
committer | Len Brown <len.brown@intel.com> | Tue May 04 20:01:00 2021 -0400 |
tree | 800aa565726cf1499723dd6d38603d46b872c0f1 | |
parent | aeb01e6d71ffaf3011ac755c3083cc200ed57cb4 [diff] |
tools/power turbostat: Fix Core C6 residency on Atom CPUs For Atom CPUs that have core cstate deeper than C6, MSR_CORE_C6_RESIDENCY actually returns the residency for both CC6 and deeper Core cstates. Thus, the real Core C6 residency should be the subtraction of MSR_CORE_C6_RESIDENCY return value and MSR_CORE_C6_RESIDENCY return value. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>