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
commit 0f7443f010
Notes: sideshowbarker 2024-07-18 20:47:27 +09:00
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; }