Holds the data for the cpu usage statistics.
More...
#include <Imt.Base.Dff.Runtime/RuntimeStatisticsCpu.h>
|
static const int16_t | CPU_LOAD_INVALID = -1 |
| Constant which represents an invalid cpu load.
|
|
Holds the data for the cpu usage statistics.
◆ getAverageCpuLoad()
int16_t imt::base::dff::runtime::RuntimeStatisticsCpu::getAverageCpuLoad |
( |
void |
| ) |
const |
|
inline |
Returns the average cpu load.
- Returns
- CPU load in percent [0..100] or CPU_LOAD_INVALID.
◆ getMaxCpuLoad()
int16_t imt::base::dff::runtime::RuntimeStatisticsCpu::getMaxCpuLoad |
( |
void |
| ) |
const |
|
inline |
Returns the maximum cpu load.
- Returns
- CPU load in percent [0..100] or CPU_LOAD_INVALID.
◆ updateAverageCpuLoad()
void imt::base::dff::runtime::RuntimeStatisticsCpu::updateAverageCpuLoad |
( |
const int16_t |
average | ) |
|
|
inline |
Update the average value.
- Parameters
-
average | CPU load in percent [0..100] or CPU_LOAD_INVALID. |
The documentation for this class was generated from the following file:
- D:/_Work/10/s/Imt.Base/Imt.Base.Dff.Runtime/RuntimeStatisticsCpu.h