]> www.infradead.org Git - users/dwmw2/linux.git/commit
tools/power turbostat: Add MTL's PMT DC6 builtin counter
authorPatryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
Mon, 22 Jul 2024 20:12:22 +0000 (22:12 +0200)
committerLen Brown <len.brown@intel.com>
Fri, 26 Jul 2024 18:36:08 +0000 (14:36 -0400)
commit640540beb88363a825524295664acfdb0f5d5fc2
tree70ad825aed698cba23dcb315f967721be2be38b2
parentf0e4ed752fda6997b41917c94a5478b340178001
tools/power turbostat: Add MTL's PMT DC6 builtin counter

Provide a definition for metadata that allows reading DC6 residency
counter via PMT and exposes it as a builtin counter.

Note that this residency counter is updated and read via
entirely different mechanisms vs the MSR-based residency counters.
On MTL processors, there are times when Die%c6 will report above 100%.
This is still useful, but don't expect 3 digits of precision...

Signed-off-by: Patryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c