Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 28 Apr 2001 11:54:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 28 Apr 2001 11:54:31 -0400 Received: from chiara.elte.hu ([157.181.150.200]:53519 "HELO chiara.elte.hu") by vger.kernel.org with SMTP id ; Sat, 28 Apr 2001 11:54:18 -0400 Date: Sat, 28 Apr 2001 17:52:42 +0200 (CEST) From: Ingo Molnar Reply-To: To: Andi Kleen Cc: Ville Herva , Fabio Riccardi , Subject: Re: X15 alpha release: as fast as TUX but in user space (fwd) Message-ID: 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 On Sat, 28 Apr 2001, Andi Kleen wrote: > You can also just use the cycle counter directly in most modern CPUs. > It can be read with a single instruction. In fact modern glibc will do > it for you when you use clock_gettime(CLOCK_PROCESS_CPUTIME_ID, ...) well, it's not reliable while using things like APM, so i'd not recommend to depend on it too much. Ingo - 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/