Re: Monotonic clock with KVM pv-clock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(2014/01/20 22:33), Marcelo Tosatti wrote:
On Mon, Jan 20, 2014 at 11:56:56AM +0200, Nadav Har'El wrote:
If KVM_SYSTEM_TIME is not a correct way to get a monotonic paravirtual clock
from KVM, is there a correct way?
Inside a Linux guest? Can use sched_clock().

I would like to mention that Linux guests usually do not use sched_clock()
directly. The reason being that the kvm_clock based sched_clock() is not
marked stable (sched_clock_stable is 0), which means that the pair of
wrappers sched_clock_local()/sched_clock_remote() is used instead.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux