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

Re: [Xen-devel] S3 sleep in dom0 breaks dom0<->domU wallclock synchronization



On 07/06/2010 02:12 AM, Joanna Rutkowska wrote:
>> CLOCK_MONOTONIC is directly derived from the Xen system time, so it will
>> presumably pause while the machine is suspended.  CLOCK_REALTIME is just
>> the Xen system time with an offset added to make the normal Unix TOD; if
>> the offset isn't updated after resume, then it will also not advance
>> over the suspend.
>>
>>     
> What is an easy way to dump all those clocks, like e.g. via some /proc
> entry?
>   

They're available via the clock_gettime function in librt.  I don't know
if there's a standard utility which allows them to be displayed/called.

    J


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.