mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Isolate cross-platform code for load average.
This commit is contained in:
@ -48,3 +48,9 @@ MeterClass* Platform_meterTypes[] = {
|
||||
int Platform_getUptime() {
|
||||
return -1;
|
||||
}
|
||||
|
||||
void Platform_getLoadAverage(double* one, double* five, double* fifteen) {
|
||||
*one = 0;
|
||||
*five = 0;
|
||||
*fifteen = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user