summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMike Chan <mike@android.com>2010-05-12 15:52:14 -0700
committerIliyan Malchev <malchev@google.com>2011-05-23 15:43:41 -0700
commita628f1ecfc5c9cd20e0b04aeaab579c1ad0eef91 (patch)
tree23c1c477d904e3a1ed65e9b57a238a2620ea09ec /Documentation
parent80652113791dba1b763e5ca9c7ed439f5b730087 (diff)
scheduler: cpuacct: Enable platform callbacks for cpuacct power tracking
Platform must register cpu power function that return power in milliWatt seconds. Change-Id: I1caa0335e316c352eee3b1ddf326fcd4942bcbe8 Signed-off-by: Mike Chan <mike@android.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/cgroups/cpuacct.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/cgroups/cpuacct.txt b/Documentation/cgroups/cpuacct.txt
index 600d2d0b85f0..84e471b612eb 100644
--- a/Documentation/cgroups/cpuacct.txt
+++ b/Documentation/cgroups/cpuacct.txt
@@ -44,6 +44,9 @@ cpuacct.cpufreq file gives CPU time (in nanoseconds) spent at each CPU
frequency. Platform hooks must be implemented inorder to properly track
time at each CPU frequency.
+cpuacct.power file gives CPU power consumed (in milliWatt seconds). Platform
+must provide and implement power callback functions.
+
cpuacct controller uses percpu_counter interface to collect user and
system times. This has two side effects: