summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMike Chan <mike@android.com>2010-05-12 15:52:14 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:38:19 -0800
commit6c0d4dd0527f87230469a088b3b51823a96de7ce (patch)
tree809cec6ec853a4219900f36d9dc17aa4c33b64f3 /Documentation
parent9075fa48d0b4453038b53a12d2a474312bf68742 (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 ac8c648ae2bc..e21a932059fb 100644
--- a/Documentation/cgroups/cpuacct.txt
+++ b/Documentation/cgroups/cpuacct.txt
@@ -43,6 +43,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: