File indexing completed on 2024-05-12 17:00:14
0001 /* 0002 SPDX-FileCopyrightText: 2021 David Redondo <kde@david-redondo.de> 0003 0004 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 #ifndef LOADAVERAGES_H 0008 #define LOADAVERAGES_H 0009 0010 #include <systemstats/SensorObject.h> 0011 0012 class LoadAverages : public KSysGuard::SensorObject { 0013 public: 0014 LoadAverages(KSysGuard::SensorContainer *parent); 0015 void update(); 0016 private: 0017 KSysGuard::SensorProperty *const average1Minute; 0018 KSysGuard::SensorProperty *const average5Minutes; 0019 KSysGuard::SensorProperty *const average15Minutes; 0020 }; 0021 0022 #endif