mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
FreeBSD: add support for CPU frequency and temperature
This commit is contained in:

committed by
Christian Goettsche

parent
64a1ab848f
commit
fd2a0cf421
@ -209,8 +209,8 @@ double Platform_setCPUValues(Meter* this, int cpu) {
|
||||
|
||||
percent = CLAMP(percent, 0.0, 100.0);
|
||||
|
||||
v[CPU_METER_FREQUENCY] = NAN;
|
||||
v[CPU_METER_TEMPERATURE] = NAN;
|
||||
v[CPU_METER_FREQUENCY] = cpuData->frequency;
|
||||
v[CPU_METER_TEMPERATURE] = cpuData->temperature;
|
||||
|
||||
return percent;
|
||||
}
|
||||
|
Reference in New Issue
Block a user