1.8 |
Monitor CPU usage of the system. More...
Public Member Functions | |
void | update () |
Update the CPU usage. More... | |
EGT_NODISCARD double | usage () const |
Get the total CPU usage as a percentage. More... | |
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.