Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964991AbVLFSBv (ORCPT ); Tue, 6 Dec 2005 13:01:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964987AbVLFSB3 (ORCPT ); Tue, 6 Dec 2005 13:01:29 -0500 Received: from ns1.suse.de ([195.135.220.2]:37524 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S964974AbVLFSB1 (ORCPT ); Tue, 6 Dec 2005 13:01:27 -0500 Date: Tue, 6 Dec 2005 19:01:26 +0100 From: Andi Kleen To: Eric Dumazet Cc: Andi Kleen , David Engraf , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Win32 equivalent to GetTickCount systemcall (i386) Message-ID: <20051206180126.GP11190@wotan.suse.de> References: <1133871202.3664.34.camel@tara.firmix.at> <000201c5fa60$52bb53e0$0a016696@EW10> <4395D1C2.2040909@cosmosbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4395D1C2.2040909@cosmosbay.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 700 Lines: 21 On Tue, Dec 06, 2005 at 07:00:34PM +0100, Eric Dumazet wrote: > Andi Kleen a ?crit : > >"David Engraf" writes: > > > >>times has only 10ms resolution, we need at least 1ms. > > > > > >It actually has jiffies resultion. Your measurements must have been > >quite off. > > I beg to differ: times has a 10 ms resolution ( ie 1/USER_HZ) You're right. Sorry for the confusion. clock_gettime is the way to go. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/