1
0
mirror of https://github.com/xzeldon/htop.git synced 2025-04-11 04:57:07 +03:00

enabled swap meter

This commit is contained in:
Martin "eto" Misuth 2015-12-13 04:16:06 +01:00
parent 9d55c56f26
commit e0b6e2eef2

@ -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) {