summaryrefslogtreecommitdiffstats
path: root/tdeui/kpanelextension.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-01-09 01:42:35 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-01-09 01:42:35 +0100
commitba82cdf5be78b46889dc0d1e3906e353489925ad (patch)
treead50094238a08b8b6c346e8da6ad8a65e8af830e /tdeui/kpanelextension.h
parent8856d5dde1a086f94b6875fd96fa6d3e479de170 (diff)
downloadtdelibs-ba82cdf5be78b46889dc0d1e3906e353489925ad.tar.gz
tdelibs-ba82cdf5be78b46889dc0d1e3906e353489925ad.zip
tdehwlib: Fix parsing of CPU cores frequency information
+ The current frequency is parsed from the scaling_cur_freq file If the current frequency is not found in /proc/cpuinfo, the attempt to read value from cpuinfo_cur_freq failed because only root can read this file. + The have_frequency flag is not set when parsing current frequency from sysfs Setting the have_frequency flag after parsing current frequency for the first core caused the current frequency not to be parsed for other cores. + Frequency characteristics are parsed for all cores The assumption that the frequency characteristics for all cores will be the same as the first core is no longer reliable. There are heterogeneous architectures - for example ARM big.LITTLE. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tdeui/kpanelextension.h')
0 files changed, 0 insertions, 0 deletions