mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
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
Block a user