Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750743AbWBKWNN (ORCPT ); Sat, 11 Feb 2006 17:13:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750758AbWBKWNN (ORCPT ); Sat, 11 Feb 2006 17:13:13 -0500 Received: from mx1.redhat.com ([66.187.233.31]:41923 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S1750743AbWBKWNN (ORCPT ); Sat, 11 Feb 2006 17:13:13 -0500 Date: Sat, 11 Feb 2006 17:13:09 -0500 From: Dave Jones To: Nico Golde Cc: linux-kernel@vger.kernel.org Subject: Re: Getting cpu frequency Message-ID: <20060211221309.GE8337@redhat.com> Mail-Followup-To: Dave Jones , Nico Golde , linux-kernel@vger.kernel.org References: <20060211204733.GA7813@ngolde.de> <20060211213748.GD8337@redhat.com> <20060211214207.GB19045@ngolde.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060211214207.GB19045@ngolde.de> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 842 Lines: 26 On Sat, Feb 11, 2006 at 10:42:07PM +0100, Nico Golde wrote: > Hallo Dave, > > * Dave Jones [2006-02-11 22:38]: > > On Sat, Feb 11, 2006 at 09:47:34PM +0100, Nico Golde wrote: > > > Hi, > > > at the moment I try to get the current cpu frequency > > > P.S. Please CC me, I am not subsribed, thanks > > > > Are you trying to do this from a userspace program ? > > If so, this isn't going to work. > > Yes I am. Read it from sysfs or /proc/cpuinfo. But, why does your app care ? If it's to set up some sort of timing loop, it's going to fail miserably. Dave - 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/