Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261309AbUJ3U0j (ORCPT ); Sat, 30 Oct 2004 16:26:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261310AbUJ3U0j (ORCPT ); Sat, 30 Oct 2004 16:26:39 -0400 Received: from mustang.oldcity.dca.net ([216.158.38.3]:9398 "HELO mustang.oldcity.dca.net") by vger.kernel.org with SMTP id S261309AbUJ3U0i (ORCPT ); Sat, 30 Oct 2004 16:26:38 -0400 Subject: Re: [Fwd: Re: [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.4] From: Lee Revell To: Florian Schmidt Cc: Ingo Molnar , Paul Davis , Thomas Gleixner , LKML , mark_h_johnson@raytheon.com, Bill Huey , Adam Heath , Michal Schmidt , Fernando Pablo Lopez-Lezcano , Karsten Wiese , jackit-devel , Rui Nuno Capela In-Reply-To: <20041030221548.5e82fad5@mango.fruits.de> References: <20041029172243.GA19630@elte.hu> <20041029203619.37b54cba@mango.fruits.de> <20041029204220.GA6727@elte.hu> <20041029233117.6d29c383@mango.fruits.de> <20041029212545.GA13199@elte.hu> <1099086166.1468.4.camel@krustophenia.net> <20041029214602.GA15605@elte.hu> <1099091566.1461.8.camel@krustophenia.net> <20041030115808.GA29692@elte.hu> <1099158570.1972.5.camel@krustophenia.net> <20041030191725.GA29747@elte.hu> <20041030214738.1918ea1d@mango.fruits.de> <1099165925.1972.22.camel@krustophenia.net> <20041030221548.5e82fad5@mango.fruits.de> Content-Type: text/plain Date: Sat, 30 Oct 2004 16:26:35 -0400 Message-Id: <1099167996.1434.4.camel@krustophenia.net> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 699 Lines: 16 On Sat, 2004-10-30 at 22:15 +0200, Florian Schmidt wrote: > What's the best way to find out the cycles/s of the cpu? This way the > input/output could become a little nicer [because then i can calculate > programatically how long a "perfect" period should be in cycles]. Take a look at the patch I posted to jackit-devel the other day to calculate the CPU speed (previously we grabbed it from /proc/cpuinfo). I just copied the code from realfeel2. Lee - 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/