1
Fork 0
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:
Andreas Kling 2019-07-10 15:18:42 +02:00
parent ea6363c540
commit 64d9b43734
2 changed files with 8 additions and 17 deletions

View file

@ -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 };
};