|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] S3 sleep in dom0 breaks	dom0<->domU	wallclock	synchroniz
 
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
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- Re: [Xen-devel] S3 sleep in dom0 breaks dom0<->domU wallclock	synchronization, (continued)
 
- Re: [Xen-devel] S3 sleep in dom0 breaks dom0<->domU wallclock	synchronization, Keir Fraser
 - Re: [Xen-devel] S3 sleep in dom0 breaks dom0<->domU wallclock	synchronization, Joanna Rutkowska
 - Re: [Xen-devel] S3 sleep in dom0 breaks dom0<->domU wallclock	synchronization, Jan Beulich
 - Re: [Xen-devel] S3 sleep in dom0 breaks dom0<->domU wallclock		synchronization, Joanna Rutkowska
 - Re: [Xen-devel] S3 sleep in dom0 breaks dom0<->domU wallclock	synchronization, Keir Fraser
 - Re: [Xen-devel] S3 sleep in dom0 breaks dom0<->domU wallclock	synchronization, Joanna Rutkowska
 - Re: [Xen-devel] S3 sleep in dom0 breaks dom0<->domU wallclock	synchronization, Joanna Rutkowska
 
- RE: [Xen-devel] S3 sleep in dom0 breaks dom0<->domU wallclock	synchronization, Dan Magenheimer
 - Re: [Xen-devel] S3 sleep in dom0 breaks dom0<->domU wallclock	synchronization, Jeremy Fitzhardinge
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |