mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
ProcessManager: Use a CFile for parsing /proc/memstat.
This commit is contained in:
parent
c931eaa22c
commit
ab539460de
2 changed files with 9 additions and 11 deletions
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibGUI/GWidget.h>
|
||||
#include <LibCore/CFile.h>
|
||||
|
||||
class GLabel;
|
||||
|
||||
|
@ -19,4 +20,5 @@ private:
|
|||
GLabel* m_supervisor_physical_pages_label { nullptr };
|
||||
GLabel* m_kmalloc_label { nullptr };
|
||||
GLabel* m_kmalloc_count_label { nullptr };
|
||||
CFile m_proc_memstat;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue