mirror of https://github.com/xzeldon/htop.git
enabled swap meter
This commit is contained in:
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) {
|
||||
|
|
Loading…
Reference in New Issue