summaryrefslogtreecommitdiffstats
path: root/netbsd/Platform.c
diff options
context:
space:
mode:
authornia <nia@NetBSD.org>2021-07-14 20:53:43 +0200
committerBenBE <BenBE@geshi.org>2021-07-21 21:06:58 +0200
commitb4884373e535cc643190f7e54005860c0ac33b9a (patch)
tree3f89e7f2616eff41ad7068b415fe2b67ba13002c /netbsd/Platform.c
parent370f89c08607d4f9046c28afd547e3fa779c571e (diff)
netbsd: Support display of CPU frequency
Diffstat (limited to 'netbsd/Platform.c')
-rw-r--r--netbsd/Platform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/netbsd/Platform.c b/netbsd/Platform.c
index c653d1bf..25db2d84 100644
--- a/netbsd/Platform.c
+++ b/netbsd/Platform.c
@@ -226,6 +226,7 @@ double Platform_setCPUValues(Meter* this, int cpu) {
totalPercent = CLAMP(totalPercent, 0.0, 100.0);
+ v[CPU_METER_FREQUENCY] = cpuData->frequency;
v[CPU_METER_TEMPERATURE] = NAN;
return totalPercent;

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