]> git.baikalelectronics.ru Git - kernel.git/commit
cpuidle: Add 'above' and 'below' idle state metrics
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 10 Dec 2018 11:30:23 +0000 (12:30 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 12 Dec 2018 22:22:18 +0000 (23:22 +0100)
commitdf027ee269fdfb6b8a1a22d74dc650345cfa2ca3
tree72ef8dca1e3a3d56bf68ce729678c638dd247e8b
parent13137b2b252b2649a8348ff31ea822968e99f8c4
cpuidle: Add 'above' and 'below' idle state metrics

Add two new metrics for CPU idle states, "above" and "below", to count
the number of times the given state had been asked for (or entered
from the kernel's perspective), but the observed idle duration turned
out to be too short or too long for it (respectively).

These metrics help to estimate the quality of the CPU idle governor
in use.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/ABI/testing/sysfs-devices-system-cpu
Documentation/admin-guide/pm/cpuidle.rst
drivers/cpuidle/cpuidle.c
drivers/cpuidle/sysfs.c
include/linux/cpuidle.h