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] Time/cpu frequency is wrong on x86_64

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] Time/cpu frequency is wrong on x86_64
From: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Date: Mon, 15 Aug 2005 00:32:07 -0700
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 15 Aug 2005 07:30:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcWhax8uun0Y1LTNRumc0NM4vQPiXwAACr1w
Thread-topic: [Xen-devel] Time/cpu frequency is wrong on x86_64
Keir Fraser wrote:
> On 15 Aug 2005, at 06:39, Nakajima, Jun wrote:
>> I noticed that cpu MHz in /proc/cpuinfo is wrong:
>> Also
>> $ time sleep 3
>> real    0m15.042s
>> user    0m0.000s
>> sys     0m0.000s
>> I'm sure it used to be correct, i.e. close to 3.8 GHz.
> I just fixed cpu MHz (which also fixes the cpu_khz variable). So you
> should see 3.8GHz reported again.

> For the 'time sleep 3' problem -- does the sleep actually take 3 or 15
> seconds?
>   -- Keir

Actually 3 seconds.

Intel Open Source Technology Center

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>