enabled swap meter

This commit is contained in:
Martin "eto" Misuth 2015-12-13 04:16:06 +01:00
parent 9d55c56f26
commit e0b6e2eef2
1 changed files with 3 additions and 1 deletions

View File

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