From: Borislav Petkov <bp@alien8.de>
To: Marcos Souza <marcos.souza.org@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Get the min and max frequency of a processor
Date: Fri, 31 Aug 2012 10:37:28 +0200 [thread overview]
Message-ID: <20120831083727.GA2903@liondog.tnic> (raw)
In-Reply-To: <CAH0vN5Jn1g+zekr-Nd=GizskgbcOGj8zoq+m6OvBiO6Xkw5-UQ@mail.gmail.com>
On Thu, Aug 30, 2012 at 02:48:33PM -0300, Marcos Souza wrote:
> Hi people,
>
> I'm changing an application to get the min and max frequency of a
> processor. The device is using cpufreq, and it will show the user the
> min and max frequency that we can overclock.
>
> There is a way to get these values, instead of reading the /sys files,
> or is this the solution?
What's wrong with using:
/sys/devices/system/cpu/cpu<N>/cpufreq/scaling_available_frequencies
?
--
Regards/Gruss,
Boris.
next prev parent reply other threads:[~2012-08-31 8:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-30 17:48 Get the min and max frequency of a processor Marcos Souza
2012-08-31 8:37 ` Borislav Petkov [this message]
2012-08-31 9:52 ` Marcos Souza
2012-08-31 12:26 ` Borislav Petkov
2012-09-01 20:26 ` Marcos Souza
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=20120831083727.GA2903@liondog.tnic \
--to=bp@alien8.de \
--cc=linux-kernel@vger.kernel.org \
--cc=marcos.souza.org@gmail.com \
/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