1.10 |
Monitor CPU usage of the system. More...
#include <tools.h>
Public Member Functions | |
void | update () |
Update the CPU usage. | |
EGT_NODISCARD double | usage () const |
Get the total CPU usage as a percentage. | |
Monitor CPU usage of the system.
void update | ( | ) |
Update the CPU usage.
This must be called periodically to perform the calculation.
|
inline |
Get the total CPU usage as a percentage.