vagnum08 / cpupower-gui

cpupower-gui is a graphical program that is used to change the scaling frequency limits of the cpu, similar to cpupower.
GNU General Public License v3.0
476 stars 32 forks source link

Add frequency marks on the sliders #27

Closed vagnum08 closed 4 years ago

vagnum08 commented 4 years ago

On some systems there is a scaling_available_frequencies file (sys/device/system/cpu/cpu*/cpufreq/scaling_available_frequencies). This file reports the frequency steps of the hardware.

In this pull request a function is added to read this file and report a list of the available frequencies. If the file is available, the GUI will show a mark above the slider along with the frequency in GHz.

Closes #14

2020-10-11-213116