sched: report CPU usage in CFS cgroup directories
authorPaul Menage <menage@google.com>
Mon, 29 Oct 2007 20:18:11 +0000 (21:18 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 29 Oct 2007 20:18:11 +0000 (21:18 +0100)
commitfe5c7cc22897b809a2fbe05bea71963853df7f17
tree6690ef27dbe5cf15a48cbb95c03b5e3e7950f5e9
parentae8393e508e5f17add66964688c49bf0bfe4fcf9
sched: report CPU usage in CFS cgroup directories

Adds a cpu.usage file to the CFS cgroup that reports CPU usage in
milliseconds for that cgroup's tasks

[ mingo@elte.hu: style cleanups. ]

Signed-off-by: Paul Menage <menage@google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c