OSDN Git Service

tools/power turbostat: Build-in "Low Power Idle" counters support
authorLen Brown <len.brown@intel.com>
Fri, 1 Jun 2018 16:35:53 +0000 (12:35 -0400)
committerLen Brown <len.brown@intel.com>
Sat, 2 Jun 2018 03:12:40 +0000 (23:12 -0400)
commitbe0e54c4ebbf106571292ee97b445fd25bc3525b
treed83414271309704f3b3ee539e7424199e004b318
parente29dc460d6c5ec43967ea69cb28120a93a20e904
tools/power turbostat: Build-in "Low Power Idle" counters support

Linux 4.15 exports the ACPI Low Power Idle Table's
counters in /sys/devices/system/cpu/cpuidle/

low_power_idle_cpu_residency_us

Show this in the "CPU%LPI" column.

Today this reflects the "North Complex"
residency in PC10, so expect it to
closely follow "Pk%pc10".

low_power_idle_system_residency_us

Show this in the "SYS%LPI" column.

Today, this reflects the North is in PC10,
plus the PCH is sufficiently quiescent
to save additional power via the "S0ix"
system state, as measured by the
PCH SLP_S0 counter.

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