aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPaul Turner <pjt@google.com>2012-09-21 13:27:51 -0700
committerJon Medhurst <tixy@linaro.org>2013-07-17 11:12:23 +0100
commit0841c6ae0b53d43e4634cf4a1f88407b93c15399 (patch)
tree9e1d6328810ef9474af2f332195ebb291f1f0df8 /include/linux
parent8bb495e3f02401ee6f76d1b1d77f3ac9f079e376 (diff)
downloadvexpress-lsk-0841c6ae0b53d43e4634cf4a1f88407b93c15399.tar.gz
sched: implement usage tracking
With the frame-work for runnable tracking now fully in place. Per-entity usage tracking is a simple and low-overhead addition. Signed-off-by: Paul Turner <pjt@google.com> Reviewed-by: Ben Segall <bsegall@google.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 178a8d909f1..fe752ca19a8 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -931,6 +931,7 @@ struct sched_avg {
u64 last_runnable_update;
s64 decay_count;
unsigned long load_avg_contrib;
+ u32 usage_avg_sum;
};
#ifdef CONFIG_SCHEDSTATS