mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:47:46 +00:00
WindowServer: Use CProcessStatisticsReader in WSCPUMonitor.
This commit is contained in:
parent
ea6363c540
commit
64d9b43734
2 changed files with 8 additions and 17 deletions
|
@ -1,7 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/CircularQueue.h>
|
||||
#include <LibCore/CFile.h>
|
||||
#include <stdio.h>
|
||||
|
||||
class Painter;
|
||||
|
@ -20,6 +19,5 @@ private:
|
|||
void get_cpu_usage(unsigned& busy, unsigned& idle);
|
||||
|
||||
CircularQueue<float, 30> m_cpu_history;
|
||||
CFile m_proc_all;
|
||||
bool m_dirty { false };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue