summaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
authorArnavion <arnavion@gmail.com>2019-08-10 17:17:45 -0700
committerArnavion <arnavion@gmail.com>2019-08-10 17:17:45 -0700
commit909bb86f05c20f0ec6f5d55994065a293932ce21 (patch)
treea74598e116cbbdb0c5da973734affe596bd9d777 /freebsd
parent43728b37e76e4ed32b04c133ca55e27116cdfa06 (diff)
Show N/A on unsupported platforms instead of 0KHz
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/Platform.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/freebsd/Platform.c b/freebsd/Platform.c
index 5dd6ca41..16d02329 100644
--- a/freebsd/Platform.c
+++ b/freebsd/Platform.c
@@ -178,6 +178,9 @@ double Platform_setCPUValues(Meter* this, int cpu) {
percent = CLAMP(percent, 0.0, 100.0);
if (isnan(percent)) percent = 0.0;
+
+ v[CPU_METER_FREQUENCY] = -1;
+
return percent;
}

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