diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-03 18:53:18 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-03 18:53:18 +0100 |
commit | b51031bb54a3db0ac95f2d943cf5ef2439934e01 (patch) | |
tree | 6524400b29af83e4b83530369be1f69d59242e6f /Kernel/MemoryManager.h | |
parent | dddd0e7b0317f02e1aad5d60d87844da8f6785e4 (diff) | |
download | serenity-b51031bb54a3db0ac95f2d943cf5ef2439934e01.zip |
Kernel: Add a /proc/all process table dump.
This will be useful for implementing some process-related utilities.
Diffstat (limited to 'Kernel/MemoryManager.h')
-rw-r--r-- | Kernel/MemoryManager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Kernel/MemoryManager.h b/Kernel/MemoryManager.h index e546350d3d..c2473efa76 100644 --- a/Kernel/MemoryManager.h +++ b/Kernel/MemoryManager.h @@ -162,7 +162,8 @@ public: bool page_in(); int commit(); - size_t committed() const; + size_t amount_resident() const; + size_t amount_shared() const; PageDirectory* page_directory() { return m_page_directory.ptr(); } |