![lukem](/assets/img/avatar_default.png)
Michael Eriksson posted to port-i386 on 20031102, with various modifications by me to work in the new sysctl(9) framework. The code is enabled with 'options ENHANCED_SPEEDSTEP', and if the CPU supports EST the following sysctl(8) nodes appear (with the values that a Dell Inspiron 8600 + WUXGA with a 1.4GHz Pentium M CPU supports): machdep.est.cpu_brand = Intel(R) Pentium(R) M processor 1400MHz machdep.est.frequency.target = 1400 machdep.est.frequency.current = 1400 machdep.est.frequency.available = 1400 1200 1000 800 600 If EST support isn't available, the "machdep.est" sysctl sub-MIB is not created. Once we have a more general "CPU frequency" control API we can migrate this code to using that. Thanks to Michael Erikkson for providing this code!
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
Description
No description provided
Languages
C
85.3%
Roff
7.2%
Assembly
3.1%
Shell
1.7%
Makefile
1.2%
Other
0.9%