From: Keir Fraser Subject: Re: Re: Fix for get_s_time() Date: Thu, 24 Apr 2008 17:37:04 +0100 Message-ID: References: <4810AF8F.5030900@virtualiron.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4810AF8F.5030900@virtualiron.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: Dave Winchell Cc: "Tian, Kevin" , "xen-devel@lists.xensource.com" , Ian Pratt , "dan.magenheimer@oracle.com" List-Id: xen-devel@lists.xenproject.org On 24/4/08 17:04, "Dave Winchell" wrote: > yes, this is the issue. What you suggest should be fine and I am trying > it now. > With the locking version (and a fix to a bug I introduced) I got .0012% > error > on an overnight run with hpet layered on get_s_time_mono(), which is the > max(prev, cur) layer on get_s_time we discussed. 12 parts per million is pretty good. Is that cumulative deviation from 'wall time' over ~12 hours? That could easily be explained by the fact that Xen system time is not sync'ed with ntp. -- Keir