Re: cpuspeed: getting a list of available freq's

2011-05-22 Thread David Steiner
On Sun, May 22, 2011 at 11:09:21AM -0600, Theo de Raadt wrote: > > is there an API or syscall to get a list of available cpu frequencies, > > that the CPU supports? > > No. > > Not all rate/power adjustments are done in terms of frequencies. Some > are done based on bus clock adjustment, or how

Re: cpuspeed: getting a list of available freq's

2011-05-22 Thread Theo de Raadt
> is there an API or syscall to get a list of available cpu frequencies, > that the CPU supports? No. Not all rate/power adjustments are done in terms of frequencies. Some are done based on bus clock adjustment, or how the memory controller works, or other tricks that are processor specific. M

cpuspeed: getting a list of available freq's

2011-05-22 Thread David Steiner
hello, is there an API or syscall to get a list of available cpu frequencies, that the CPU supports? greetings, David