Comment 15 for bug 691721

Revision history for this message
Kim Nguyễn (kim.nguyen) wrote : Re: Only one core managing with indicator-cpufreq.

Hi everyone,

I'm attaching a proof of concept patch that I'm using which provides multicore support.
It's not ideal since it creates one indicator per cpu (you can set a limit with the new option --max-cpu n). Since I only have
two cores this is perfectly manageable (and that's how I used to do it with the old applet, just add as many applets
as cores).

If people are more interested I think I can implement idea in comment #2. That would give only one Indicator
(thus one icon), with a menu. The menu could be either flat:
CPU0
---------
Freq 1
Freq 2
...
---------
Governor 1
Governor 2
...
------------
CPU 1
...
------------
CPU 2

but this could become huge for say 4 or 8 cores, or I can just use submenus as in comment #2
Also the display icon (since there is only one) would use the frequency of the fastest running cpu.
(This would give the indication that one of your CPU is on full wack for instance).