LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   CPU heat monitoring and freq. control (https://www.linuxquestions.org/questions/programming-9/cpu-heat-monitoring-and-freq-control-312494/)

Yonatanph 04-12-2005 02:12 PM

CPU heat monitoring and freq. control
 
Hi everyone,
I am trying to write a program in C that can perform dynamic heat control for Pentium M (banias) through frequency scaling.
I was supposed to use an API that someone already wrote, however it appears that his API is useless (and that's an understatement :( ).
Anyhow, in order to implement my program I will need to get a temp reading from the CPU and to adjust the CPU frequency (on the fly) based on that reading.
I was given to understand that Linux already has support for these option built in. Is there an API for C for these functions?


P.S.
I am kind of new to Linux (have just started using it for this project) so please try to form you answer accordingly.

Any help will be appreciated!

ahwkong 04-12-2005 04:19 PM

http://secure.netroedge.com/~lm78/


All times are GMT -5. The time now is 04:05 PM.