cpu module: Reuse getLoad of load module

This commit is contained in:
Mann mit Hut
2023-07-29 16:02:36 +02:00
parent d1602e383c
commit 8d7341da6e
4 changed files with 7 additions and 14 deletions

View File

@ -21,8 +21,6 @@ class Cpu : public ALabel {
auto update() -> void override;
private:
double getCpuLoad();
std::vector<std::tuple<size_t, size_t>> prev_times_;
util::SleeperThread thread_;