Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 17 Nov 2000 08:22:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 17 Nov 2000 08:22:01 -0500 Received: from smtpde02.sap-ag.de ([194.39.131.53]:1428 "EHLO smtpde02.sap-ag.de") by vger.kernel.org with ESMTP id ; Fri, 17 Nov 2000 08:21:54 -0500 From: Christoph Rohland To: Alan Cox Cc: tigran@veritas.com (Tigran Aivazian), mikpe@csd.uu.se (Mikael Pettersson), ledzep37@home.com (Jordan), linux-kernel@vger.kernel.org (Linux Kernel) Subject: Re: Error in x86 CPU capabilities starting with test5/6 In-Reply-To: Organisation: SAP LinuxLab Date: 17 Nov 2000 13:51:11 +0100 In-Reply-To: Alan Cox's message of "Fri, 17 Nov 2000 12:10:07 +0000 (GMT)" Message-ID: Lines: 14 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Bryce Canyon) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi Alan, On Fri, 17 Nov 2000, Alan Cox wrote: > Even checking the cpuinfo for the TSC should be done with care, and > its far far better to use gettimeofday unless doing very tiny > timings (eg for optimising code paths) gettimeofday is _way_ to slow for a lot of every day uses. So applications will use rdtsc until we have some really fast (non-syscall) way to have high resolution time diffs. Greetings Christoph - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/