|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] clocksource/0: Time went backwards
Oh.. i was hoping for some simple sysctl tweak or easy patch :)
Bummer :(
----- Original Message -----
From: "Samuel Thibault" <samuel.thibault@xxxxxxxxxxxx>
To: "Bart Verwilst" <lists@xxxxxxxxxxx>
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Sent: Thursday, October 11, 2007 3:02:49 PM (GMT+0100) Europe/Berlin
Subject: Re: [Xen-users] clocksource/0: Time went backwards
Bart Verwilst, le Thu 11 Oct 2007 14:59:31 +0200, a écrit :
> Stall the time?
> Could you elaborate on that please?
In the Mach kernel's time function, I record the timestamp of the last
call. If the new timestamp from Xen is older than that one (i.e. a time
shift occured), I keep returning the time of the recorded timestemp,
until the timestamp from Xen becomes newer than the recorded one.
Samuel
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|