summaryrefslogtreecommitdiff
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorMorten Rasmussen <morten.rasmussen@arm.com>2014-12-18 14:47:18 +0000
committerAmit Pundir <amit.pundir@linaro.org>2016-09-14 14:48:50 +0530
commit074bcc729d948432568446cbc5598ecabb80bbb9 (patch)
tree2bb5ee4ec3b2e8fa3b63464a6044cc3d933e5c7a /kernel/sysctl_binary.c
parent6b8bde20df2dd087dd8e3554a9a8c9c511a3b123 (diff)
sched: Calculate energy consumption of sched_group
For energy-aware load-balancing decisions it is necessary to know the energy consumption estimates of groups of cpus. This patch introduces a basic function, sched_group_energy(), which estimates the energy consumption of the cpus in the group and any resources shared by the members of the group. NOTE: The function has five levels of identation and breaks the 80 character limit. Refactoring is necessary. cc: Ingo Molnar <mingo@redhat.com> cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Morten Rasmussen <morten.rasmussen@arm.com>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions