diff options
author | Paul Turner <pjt@google.com> | 2012-09-21 13:27:51 -0700 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2012-10-08 08:52:43 +0530 |
commit | 9d96ce51eb722d3e57ba2153503923651906d80a (patch) | |
tree | 2ba49abc6de37a42b436b0146f455bef67bc30d8 /include | |
parent | 7c1e806085cf0a3975a95a865dbd3caa8637bccb (diff) |
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')
-rw-r--r-- | include/linux/sched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 6446bd9f8a9..1d2af079abe 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1150,6 +1150,7 @@ struct sched_avg { u64 last_runnable_update; s64 decay_count; unsigned long load_avg_contrib; + u32 usage_avg_sum; }; #ifdef CONFIG_SCHEDSTATS |