From: Mattia Dongili <malattia@linux.it>
To: Nico Golde <nico@ngolde.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Getting cpu frequency
Date: Sun, 12 Feb 2006 09:46:18 +0100 [thread overview]
Message-ID: <20060212084618.GA5439@inferi.kami.home> (raw)
In-Reply-To: <20060211221648.GB12602@ngolde.de>
On Sat, Feb 11, 2006 at 11:16:48PM +0100, Nico Golde wrote:
> * Dave Jones <davej@redhat.com> [2006-02-11 23:15]:
> > On Sat, Feb 11, 2006 at 10:42:07PM +0100, Nico Golde wrote:
> > > Hallo Dave,
> > >
> > > * Dave Jones <davej@redhat.com> [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!
prev parent reply other threads:[~2006-02-12 8:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-11 20:47 Nico Golde
2006-02-11 21:37 ` Dave Jones
2006-02-11 21:42 ` Nico Golde
2006-02-11 22:13 ` Dave Jones
2006-02-11 22:16 ` Nico Golde
2006-02-12 8:46 ` Mattia Dongili [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060212084618.GA5439@inferi.kami.home \
--to=malattia@linux.it \
--cc=linux-kernel@vger.kernel.org \
--cc=nico@ngolde.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®