commit | 5e84cfde51cf303d368fcb48f22059f37b3872de | [log] [tgz] |
---|---|---|
author | Laurent Vivier <Laurent.Vivier@bull.net> | Mon Oct 15 17:00:19 2007 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Mon Oct 15 17:00:19 2007 +0200 |
tree | 59a55bbc56944e06c8e5940a58ff667939b92f69 | |
parent | 6323469f9b72530eb90c96ba162cc70f2f4611de [diff] |
sched: guest CPU accounting: add guest-CPU /proc/stat field as recent CPUs introduce a third running state, after "user" and "system", we need a new field, "guest", in cpustat to store the time used by the CPU to run virtual CPU. Modify /proc/stat to display this new field. Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net> Acked-by: Avi Kivity <avi@qumranet.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>