diff options
author | Mike Chan <mike@android.com> | 2011-10-09 02:21:22 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-10-09 02:21:22 +0100 |
commit | 51938b55fa8b7b0e457af833025c62164c79c4ff (patch) | |
tree | 1ac7b40eb030d0f3a4b4bf5668d8dca61d4b3336 /Documentation | |
parent | dc19eaeb4fa44e3265e19775118f628746da91c9 (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: |