[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCHl] kqemu: Linux CPU accouting
From: |
Laurent Vivier |
Subject: |
[Qemu-devel] [PATCHl] kqemu: Linux CPU accouting |
Date: |
Wed, 11 Jun 2008 10:41:38 +0200 |
Hi,
Here is a patch allowing to register guest time to guest field
of /proc/stat and /proc/%pid/stat (it moves also this part of cpu time
from system time to user time). This field is available since linux
2.6.24.
To play with it, I provide a second patch which is a patch for
procps-3.2.7 allowing to display correctly this value (the per cpu "g"
field).
For more details, see:
http://kerneltrap.org/Linux/Virtual_Machine_Time_Accounting
Regards,
Laurent
--
------------- address@hidden ---------------
"The best way to predict the future is to invent it."
- Alan Kay
kqemu-guest-time.patch
Description: Text Data
procps-3.2.7-guest-time.patch
Description: Text Data