Skip to content
Commit 137f01b3 authored by Zhang Rui's avatar Zhang Rui
Browse files

tools/power/turbostat: Fix a knl bug

MSR_KNL_CORE_C6_RESIDENCY should be evaluated only if
1. this is KNL platform
AND
2. need to get C6 residency or need to calculate C1 residency

Fix the broken logic introduced by commit 1e9042b9 ("tools/power
turbostat: Fix CPU%C1 display value").

Fixes: 1e9042b9

 ("tools/power turbostat: Fix CPU%C1 display value")
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
Reviewed-by: default avatarLen Brown <len.brown@intel.com>
parent 4d182748
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment