1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00

SystemMonitor: Show information about purgeable memory

This patch exposes some fields about purgeable memory regions.
We now also show total purgeable volatile and non-volatile memory in
the big process table.
This commit is contained in:
Andreas Kling 2019-12-09 19:16:58 +01:00
parent dfc5eb2b6d
commit 92b46d9814
5 changed files with 33 additions and 0 deletions

View file

@ -30,6 +30,8 @@ public:
TID,
Virtual,
Physical,
PurgeableVolatile,
PurgeableNonvolatile,
Syscalls,
InodeFaults,
ZeroFaults,
@ -70,6 +72,8 @@ private:
String priority;
size_t amount_virtual;
size_t amount_resident;
size_t amount_purgeable_volatile;
size_t amount_purgeable_nonvolatile;
unsigned syscall_count;
unsigned inode_faults;
unsigned zero_faults;