1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:37:35 +00:00

ProcessManager: Rename it to SystemMonitor

This is a more appropriate name now that it does a lot
more than just manage processes ^)
This commit is contained in:
Sergey Bugaev 2019-08-14 14:06:43 +03:00 committed by Andreas Kling
parent c7040cee62
commit cbdda91065
23 changed files with 9 additions and 9 deletions

View file

@ -0,0 +1,25 @@
#pragma once
#include <LibCore/CFile.h>
#include <LibGUI/GWidget.h>
class GLabel;
class GraphWidget;
class MemoryStatsWidget final : public GWidget {
public:
MemoryStatsWidget(GraphWidget& graph, GWidget* parent);
virtual ~MemoryStatsWidget() override;
void refresh();
private:
virtual void timer_event(CTimerEvent&) override;
GraphWidget& m_graph;
GLabel* m_user_physical_pages_label { nullptr };
GLabel* m_supervisor_physical_pages_label { nullptr };
GLabel* m_kmalloc_label { nullptr };
GLabel* m_kmalloc_count_label { nullptr };
CFile m_proc_memstat;
};