mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 11:45:06 +00:00
22 lines
548 B
C++
22 lines
548 B
C++
#pragma once
|
|
|
|
#include <LibGUI/GWidget.h>
|
|
|
|
class GLabel;
|
|
|
|
class MemoryStatsWidget final : public GWidget {
|
|
public:
|
|
explicit MemoryStatsWidget(GWidget* parent);
|
|
virtual ~MemoryStatsWidget() override;
|
|
|
|
void refresh();
|
|
|
|
private:
|
|
virtual void timer_event(CTimerEvent&) override;
|
|
virtual void paint_event(GPaintEvent&) override;
|
|
|
|
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 };
|
|
};
|