summaryrefslogtreecommitdiffstats
path: root/solaris/Platform.c
diff options
context:
space:
mode:
authorDominik Hassler <hadfl@omnios.org>2020-12-24 13:01:23 +0000
committerDominik Hassler <hadfl@omnios.org>2020-12-25 09:26:50 +0000
commit495f2292dcc958974984521c998fd1672bfc3d33 (patch)
treef9db48169b7266060628ab4e9b9301fd4bc342ec /solaris/Platform.c
parent1cc3f8074f710dbd30e82cdb3e558106535e51d1 (diff)
add support to display CPU frequencies on Solarish platforms
Diffstat (limited to 'solaris/Platform.c')
-rw-r--r--solaris/Platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/solaris/Platform.c b/solaris/Platform.c
index 09747cd4..968e0133 100644
--- a/solaris/Platform.c
+++ b/solaris/Platform.c
@@ -205,7 +205,7 @@ double Platform_setCPUValues(Meter* this, int cpu) {
percent = isnan(percent) ? 0.0 : CLAMP(percent, 0.0, 100.0);
- v[CPU_METER_FREQUENCY] = NAN;
+ v[CPU_METER_FREQUENCY] = cpuData->frequency;
v[CPU_METER_TEMPERATURE] = NAN;
return percent;

© 2014-2024 Faster IT GmbH | imprint | privacy policy