|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Xen timing mode
Thank you very much!
On Tue, Feb 23, 2010 at 3:28 PM, Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
On 02/23/2010 09:29 AM, Priya wrote:
The Xen Interface manual for Xen v2.0 (attached) Page 4 defines Domain - virtual time as
" The time that progresses at the same pace as system time, but only while a domain is executing -- it stops while a domain is de-scheduled. Therefore the share of the CPU that a domain receives is indicated by the rate at which its virtual time increases."
I am interesting in finding out if any of the timing system calls/instructions like gettimeofday(), hwclock(), rdtsc() can read this domain virtual time.
/proc/stat publishes stolen time for each vcpu (second-last column on the "cpuX" lines); you can subtract that from monotonic time to work out how much vcpu the domain has got.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|