[Goodies-dev] cpufreq plugin shows same frequency for all CPU:s
Rudolf Hersén
rhersen at gmail.com
Fri Jan 13 14:40:39 CET 2012
Hi.
When enabling xfce4-cpufreq-plugin I was glad to see that it had a setting
called "Display CPU" which means you can have one instance of the plugin
for each of your CPU cores.
After creating four instances of the plugin and setting the CPU number to
0, 1, 2 and 3 I was surprised to see that all instances show the same CPU
frequency.
So I did a git clone and debugged for a while, finding out that the for
loop in cpufreq_update_plugin is written so that it always uses the
frequency of the highest numbered CPU.
I have a patch that fixes the problem. Can I get git commit access, or
should I just send the patch to someone?
*regards,
Rudolf Hersén
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/goodies-dev/attachments/20120113/ab82326f/attachment.html>
More information about the Goodies-dev
mailing list