mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 20:24:35 +03:00
enabled swap meter
This commit is contained in:
@ -187,7 +187,9 @@ void Platform_setMemoryValues(Meter* this) {
|
||||
}
|
||||
|
||||
void Platform_setSwapValues(Meter* this) {
|
||||
// TODO
|
||||
ProcessList* pl = (ProcessList*) this->pl;
|
||||
this->total = pl->totalSwap;
|
||||
this->values[0] = pl->usedSwap;
|
||||
}
|
||||
|
||||
void Platform_setTasksValues(Meter* this) {
|
||||
|
Reference in New Issue
Block a user