1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +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

@ -39,6 +39,8 @@ struct CProcessStatistics {
size_t amount_virtual;
size_t amount_resident;
size_t amount_shared;
size_t amount_purgeable_volatile;
size_t amount_purgeable_nonvolatile;
int icon_id;
Vector<CThreadStatistics> threads;