Re: [kvm-devel] Find timing info between two VM exits

2007-12-24 Thread Avi Kivity
avadh patel wrote: > Hi Avi, > > Sorry for the wrong question. My revised question is as follows: > How can I find the time spent between vm-enter and vm-exit ? > In other words, How can I find the number of clock ticks spent in > execution of VM's code between vm-enter and vm-exit ? Linux 2.6.24

Re: [kvm-devel] Find timing info between two VM exits

2007-12-24 Thread avadh patel
Hi Avi, Sorry for the wrong question. My revised question is as follows: How can I find the time spent between vm-enter and vm-exit ? In other words, How can I find the number of clock ticks spent in execution of VM's code between vm-enter and vm-exit ? Thanks, Avadh On Dec 24, 2007 2:05 AM, Av

Re: [kvm-devel] Find timing info between two VM exits

2007-12-23 Thread Avi Kivity
avadh patel wrote: > Hi All, > > I was looking into the source code of kvm and modified qemu and trying > to find the time spent between two VM-exit in kvm. > Is there a way to find this from user-space qemu, without modifying > the kernel module or libkvm? > What do you mean exactly? Average t

[kvm-devel] Find timing info between two VM exits

2007-12-23 Thread avadh patel
Hi All, I was looking into the source code of kvm and modified qemu and trying to find the time spent between two VM-exit in kvm. Is there a way to find this from user-space qemu, without modifying the kernel module or libkvm? Thanks, Avadh