netbsd: Support display of CPU frequency

This commit is contained in:
nia
2021-07-14 20:53:43 +02:00
committed by BenBE
parent 370f89c086
commit b4884373e5
3 changed files with 66 additions and 0 deletions

View File

@ -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;