From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: root@chaos.analogic.com
Cc: dfries@mail.win.org (David Fries),
john@worldwideweber.org (John Weber),
linux-kernel@vger.kernel.org
Subject: Re: how to get cpu_khz?
Date: Mon, 17 Sep 2001 22:26:09 +0100 (BST) [thread overview]
Message-ID: <E15j5u6-0007ur-00@the-village.bc.nu> (raw)
In-Reply-To: <Pine.LNX.3.95.1010917155650.17392A-100000@chaos.analogic.com> from "Richard B. Johnson" at Sep 17, 2001 03:58:21 PM
> > calculated at boot time (that's where /proc/cpuinfo gets its data) and
> > that variable doesn't appear to be exported to the rest of the kernel,
> > either that or I'm just missing something, which I would rather be the
> > case at this point.
> >
>
> Ask Alan to export it by default. If no-go, export it in your
> configuration.
Processor speed from cpu_khz is not a constant, it varies per processor
on split multiplier SMP and it varies on certain kinds of power management.
For delays we have udelay(). That has a chance of supporting speed changes
next prev parent reply other threads:[~2001-09-17 21:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fa.ginsptv.1gg45b5@ifi.uio.no>
2001-09-17 19:11 ` how to get cpu_khz? John Weber
2001-09-17 19:51 ` David Fries
2001-09-17 19:58 ` Richard B. Johnson
2001-09-17 21:26 ` Alan Cox [this message]
2001-09-17 16:43 David Fries
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=E15j5u6-0007ur-00@the-village.bc.nu \
--to=alan@lxorguk.ukuu.org.uk \
--cc=dfries@mail.win.org \
--cc=john@worldwideweber.org \
--cc=linux-kernel@vger.kernel.org \
--cc=root@chaos.analogic.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;
as well as URLs for NNTP newsgroup(s).