1.8
Public Member Functions | List of all members
CPUMonitorUsage Class Reference

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...
 

Detailed Description

Monitor CPU usage of the system.

Member Function Documentation

◆ update()

void update ( )

Update the CPU usage.

This must be called periodically to perform the calculation.

◆ usage()

EGT_NODISCARD double usage ( ) const
inline

Get the total CPU usage as a percentage.