Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932349AbWBLIpZ (ORCPT ); Sun, 12 Feb 2006 03:45:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932354AbWBLIpZ (ORCPT ); Sun, 12 Feb 2006 03:45:25 -0500 Received: from 213-140-2-73.ip.fastwebnet.it ([213.140.2.73]:61586 "EHLO aa006msg.fastwebnet.it") by vger.kernel.org with ESMTP id S932349AbWBLIpY (ORCPT ); Sun, 12 Feb 2006 03:45:24 -0500 Date: Sun, 12 Feb 2006 09:46:18 +0100 From: Mattia Dongili To: Nico Golde Cc: linux-kernel@vger.kernel.org Subject: Re: Getting cpu frequency Message-ID: <20060212084618.GA5439@inferi.kami.home> Mail-Followup-To: Nico Golde , linux-kernel@vger.kernel.org References: <20060211204733.GA7813@ngolde.de> <20060211213748.GD8337@redhat.com> <20060211214207.GB19045@ngolde.de> <20060211221309.GE8337@redhat.com> <20060211221648.GB12602@ngolde.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060211221648.GB12602@ngolde.de> X-Message-Flag: Cranky? Try Free Software instead! X-Operating-System: Linux 2.6.16-rc2-mm1-3 i686 X-Editor: Vim http://www.vim.org/ X-Disclaimer: Buh! User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1206 Lines: 34 On Sat, Feb 11, 2006 at 11:16:48PM +0100, Nico Golde wrote: > * Dave Jones [2006-02-11 23:15]: > > 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. > > Thats exactly what I dont wanted to do and thought its > possible without reading a file. So it seems to be not, > thank you will use sysfs to get the information. > Regards Nico there's still libcpufreq from cpufrequtils if you wish some kind of abstraction over reading a file. -- mattia :wq! - 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/