| commit | ba5d3edb3a7d4408fac68850951beab627939c40 | [log] [tgz] |
|---|---|---|
| author | Ruchi Kandoi <kandoiruchi@google.com> | Fri Apr 17 16:33:29 2015 -0700 |
| committer | Nick Reuter <nreuter85@gmail.com> | Sat Sep 24 23:43:05 2016 -0500 |
| tree | 7b5d38247e16d57564003cdf7d6f33f068a5729f | |
| parent | 05100f7133eef5e13b42a8bc8ef5327abc29751e [diff] |
sched: cpufreq: Adds a field cpu_power in the task_struct cpu_power has been added to keep track of amount of power each task is consuming. cpu_power is updated whenever stime and utime are updated for a task. power is computed by taking into account the frequency at which the current core was running and the current for cpu actively running at hat frequency. Bug: 21498425 Change-Id: Ic535941e7b339aab5cae9081a34049daeb44b248 Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>