From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: S3 sleep in dom0 breaks dom0<->domU wallclock synchronization Date: Tue, 06 Jul 2010 09:17:38 -0700 Message-ID: <4C335722.7020003@goop.org> References: <4C322FF9.1050601@goop.org> <4C32602B.3090108@invisiblethingslab.com> <4C3261C8.4000808@goop.org> <4C3264B0.5090605@invisiblethingslab.com> <4C326898.6040709@goop.org> <4C32F367.2090302@invisiblethingslab.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4C32F367.2090302@invisiblethingslab.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Joanna Rutkowska Cc: Konrad Rzeszutek Wilk , Jeremy Fitzhardinge , "xen-devel@lists.xensource.com" , Rafal Wojtczuk , Keir Fraser List-Id: xen-devel@lists.xenproject.org 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