diff options
author | Olav Haugan <ohaugan@codeaurora.org> | 2015-08-10 16:41:44 -0700 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:02:27 -0700 |
commit | 03a683a55c450e26f1ebde7400f64a4b7ecd68c2 (patch) | |
tree | 89d641bf72662652aff71607161baac88b731110 /kernel/sched/debug.c | |
parent | 4996dafe6875f2804d525e6ac74162e3efc4cda3 (diff) |
sched: Add tunables for static cpu and cluster cost
Add per-cpu tunable to set the extra cost to use a CPU that is idle.
Add the same for a cluster.
Change-Id: I4aa53f3c42c963df7abc7480980f747f0413d389
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
[joonwoop@codeaurora.org: omitted changes for qhmp*.[c,h] stripped out
CONFIG_SCHED_QHMP in drivers/base/cpu.c and include/linux/sched.h]
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'kernel/sched/debug.c')
-rw-r--r-- | kernel/sched/debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c index 5261ee0c35b9..b2bb6caa6a5b 100644 --- a/kernel/sched/debug.c +++ b/kernel/sched/debug.c @@ -324,6 +324,8 @@ do { \ P(efficiency); P(cur_freq); P(max_freq); + P(static_cpu_pwr_cost); + P(static_cluster_pwr_cost); #endif #ifdef CONFIG_SCHED_HMP P(hmp_stats.nr_big_tasks); |