diff options
author | nia <nia@NetBSD.org> | 2021-07-14 20:53:43 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-07-21 21:06:58 +0200 |
commit | b4884373e535cc643190f7e54005860c0ac33b9a (patch) | |
tree | 3f89e7f2616eff41ad7068b415fe2b67ba13002c /netbsd/Platform.c | |
parent | 370f89c08607d4f9046c28afd547e3fa779c571e (diff) |
netbsd: Support display of CPU frequency
Diffstat (limited to 'netbsd/Platform.c')
-rw-r--r-- | netbsd/Platform.c | 1 |
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; |