This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [xen-devel] System time monotonicity

To: Dave Winchell <dwinchell@xxxxxxxxxxxxxxx>
Subject: Re: [xen-devel] System time monotonicity
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Sat, 12 Apr 2008 08:09:12 +0100
Cc: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, dan.magenheimer@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>
Delivery-date: Sat, 12 Apr 2008 00:09:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <B99564216C25704085A82B41C46DD3427B05DA@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcicbBv8WlBpFghfEd25igAWy6hiGQ==
Thread-topic: [xen-devel] System time monotonicity
User-agent: Microsoft-Entourage/
On 11/4/08 23:58, "Dave Winchell" <dwinchell@xxxxxxxxxxxxxxx> wrote:

Your suggestion below is a good one. I'll give it a try and let you know.

(I thought most systems did expose an hpet, at least modern ones.
All the systems I use expose it.
My code defaults back to the tsc way of doing things when no hpet is

It used to be deliberately not exposed because Windows had problems using it in some cases, iirc. If it’s no longer getting hidden in newer systems then that’s a good thing.

Anyhow, yes, please do switch over to system time. I wouldn’t take a HPET-vs-TSC patch anyway.

 -- Keir
Xen-devel mailing list