D8153: Try to read CPU clock from cpufreq/scaling_cur_freq instead of /proc/cpuinfo
Fabian Vogt
noreply at phabricator.kde.org
Thu Oct 5 17:39:59 UTC 2017
fvogt added a comment.
I could also open all sysfs files only once and then fseek+fscanf when the value is requested, but that would only exchange a continuous fopen+fclose with fseek+more complexity IMO.
I'm fine with both approaches, but I favor KISS here.
REPOSITORY
R106 KSysguard
REVISION DETAIL
https://phabricator.kde.org/D8153
To: fvogt, #plasma
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171005/efb070de/attachment.html>
More information about the Plasma-devel
mailing list