
KCpuSpeed
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
KCpuSpeed
A simple kicker applet which displays the current cpu speed.
Nothing fancy, it really just displays at how much mhz your
cpu is running right now.
This will most likely work only under Linux as the current
cpu speed is read from /proc/cpuinfo.
sodamnmad
15 years ago
I modified it to it has a min of 2 seconds and it seems to work fine.
I think I'm also going to have to modify it so its a little bit smaller. It takes up too much room on my screen...
But nice app otherwise :) I've been looking for something like this to help me monitor my turion's speed/temp as it quickly gets hot when it runs at full speed.
Report
nsteeves
16 years ago
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
If found, get the CPU Mhz here, and skip everything below.
Now get the value of /proc/cpuinfo. Store it in a variable. ($CPUINFO will be used in this example)
Now, check for the existence of:
/proc/acpi/processor/CPU1/throttling.
If found, do this:
$THROTTLE = $CPUINFO/100*{the state with the star next to it)
else $CPUINFO is the most accurate.
The reason I mention all this, is because this app could be *super* useful for laptop users. Unfortunately, I can't help with testing... :-(
Report
domseichter
16 years ago
Thanks a lot. I will add this for the next release.
CU Dom
Report