tools/power/turbostat: Abstract hardcoded Crystal Clock frequency
authorZhang Rui <rui.zhang@intel.com>
Sat, 22 Apr 2023 03:39:49 +0000 (11:39 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 27 Sep 2023 14:14:18 +0000 (22:14 +0800)
commita5d1ab93a0993616efbf61378e491d6673f4684d
treeb9e37bfd0a49e043869760200dfd75533788f8ed
parentd90120bf9f111bec8ba0b8ef86c46ccbcd9df188
tools/power/turbostat: Abstract hardcoded Crystal Clock frequency

Abstract the support for hardcoded Crystal Clock frequency, which is
used when crystal clock is not available from CPUID.15.

Delete CPU model checks in process_cpuid().

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