Re: [PATCH 0/4] Virtual Machine Time Accounting

Jeremy Fitzhardinge
2007-08-20T16:13:03Z

Laurent Vivier wrote:
> functionnalities:
>
> - allow to measure time spent by a CPU in a virtual CPU.
> - allow to display in /proc/state this value by CPU
> - allow to display in /proc/<pid>/state this value by process
> - allow KVM to use these 3 previous functionnalities
>

So, currently time spent in a kvm guest is accumulated as qemu-kvm
usertime, right? Given that qemu knows when its running in qemu vs
guest context, couldn't it provide the breakdown between user and guest
time (ditto lguest)?

J