Messages in this thread | | | Date | Sat, 11 Feb 2006 23:16:48 +0100 | From | Nico Golde <> | Subject | Re: Getting cpu frequency |
| |
* 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
-- Nico Golde - JAB: nion@jabber.ccc.de | GPG: 0x73647CFF http://www.ngolde.de | http://www.muttng.org | http://grml.org Forget about that mouse with 3/4/5 buttons - gimme a keyboard with 103/104/105 keys! [unhandled content-type:application/pgp-signature] | |