|
|
 |
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] RTC going backwards?
> Is it possible to call NOW() in xen, and then sometime later
> call it again and get a slightly smaller value (ie, by a few
> thousand ns)? Is there something that makes small corrections
> to the rtc once in a while?
> I'm trying to track down a bug in some code I'm developing
> and it looks like time really does go backwards sometimes.
NOW() uses get_s_time (system time), which should always be greater or
equal to the previous value.
If you're running a domain 0 with xntpd, then Xen's wall clock time time
(as opposed to system time) can indeed go backwards if domain 0 pushes
down adjustments to it.
Ian
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|