]> asedeno.scripts.mit.edu Git - linux.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)
commit04dab58a39d402162a7effe7278df8cd41557252
tree72ef8dca1e3a3d56bf68ce729678c638dd247e8b
parent9456823c842f346c74265fcd98d008d87a7eb6f5
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