Re: Getting cpu frequency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Feb 11, 2006 at 10:42:07PM +0100, Nico Golde wrote:
 > Hallo Dave,
 > 
 > * Dave Jones <[email protected]> [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.
But, why does your app care ?
If it's to set up some sort of timing loop, it's going to
fail miserably.

		Dave
		
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux