diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-09-10 19:56:33 +0200 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2020-11-16 16:38:54 +0100 |
commit | 1b225cd7a0af03a6349c48326118a287fc36acd0 (patch) | |
tree | dff0955221e7fce63e2308febbefdd58213d16c3 /linux/LinuxProcessList.h | |
parent | 309f1d7282ec8efa4ff6b24a001a4908f5fd28d0 (diff) |
Show CPU temperature in CPU meter
Show the CPU temperature in the CPU meter, like CPU frequency, instead
of using an extra Meter.
Diffstat (limited to 'linux/LinuxProcessList.h')
-rw-r--r-- | linux/LinuxProcessList.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/LinuxProcessList.h b/linux/LinuxProcessList.h index 6ecf2103..6ce9d029 100644 --- a/linux/LinuxProcessList.h +++ b/linux/LinuxProcessList.h @@ -47,6 +47,10 @@ typedef struct CPUData_ { unsigned long long int guestPeriod; double frequency; + + #ifdef HAVE_LIBSENSORS + double temperature; + #endif } CPUData; typedef struct TtyDriver_ { |