1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:17:45 +00:00

SystemMonitor: Add a status bar to the main window

To get us started, this shows the number of processes and threads in
the last captured state.
This commit is contained in:
Andreas Kling 2021-04-04 20:46:46 +02:00
parent 1e912fb5a1
commit 0f7443f010
3 changed files with 15 additions and 3 deletions

View file

@ -94,6 +94,7 @@ public:
};
Function<void(const NonnullOwnPtrVector<CpuInfo>&)> on_cpu_info_change;
Function<void(int process_count, int thread_count)> on_state_update;
const NonnullOwnPtrVector<CpuInfo>& cpus() const { return m_cpus; }