mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 14:15:08 +00:00
ProcessManager: Use CProcessStatisticsReader to get process data.
It was silly to duplicate this functionality in so many places. Now everyone uses CProcessStatisticsReader to parse /proc/all :^)
This commit is contained in:
parent
64d9b43734
commit
245ae479eb
2 changed files with 22 additions and 48 deletions
|
@ -3,7 +3,6 @@
|
|||
#include <AK/AKString.h>
|
||||
#include <AK/HashMap.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibCore/CFile.h>
|
||||
#include <LibGUI/GModel.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
@ -65,5 +64,4 @@ private:
|
|||
RefPtr<GraphicsBitmap> m_high_priority_icon;
|
||||
RefPtr<GraphicsBitmap> m_low_priority_icon;
|
||||
RefPtr<GraphicsBitmap> m_normal_priority_icon;
|
||||
CFile m_proc_all;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue