mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-24 23:15:46 +00:00
edf1b10d2c
Use the more portable sysfs node /sys/devices/system/cpu/cpuX/cpufreq/scaling_cur_freq to get the CPU frequency. In case of an error fall back to /proc/cpuinfo . Also use a fixed width of 4 for the frequency to avoid position jumps in case the frequency moves in the range 900-1100 MHz. |
||
---|---|---|
.. | ||
Battery.c | ||
Battery.h | ||
IOPriority.h | ||
IOPriorityPanel.c | ||
IOPriorityPanel.h | ||
LinuxCRT.c | ||
LinuxCRT.h | ||
LinuxProcess.c | ||
LinuxProcess.h | ||
LinuxProcessList.c | ||
LinuxProcessList.h | ||
Platform.c | ||
Platform.h | ||
PressureStallMeter.c | ||
PressureStallMeter.h |