diff options
author | Mike Chan <mike@android.com> | 2011-10-01 14:16:19 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-10-02 09:38:29 +0100 |
commit | 32bc9be2b4d76a839705161478d1dd7dc8c95e11 (patch) | |
tree | d497c36254015368de6dbb0feccd130ca5195c43 /Documentation | |
parent | f5e79b982fb58e27de02bc5cff53743122f1a902 (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.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/cgroups/cpuacct.txt b/Documentation/cgroups/cpuacct.txt index ac8c648ae2b..e21a932059f 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: |