|
The Pedigree Project 0.1
|
#include <LoadAverage.h>
Collaboration diagram for LoadAverage:Public Member Functions | |
| void | update (uint64_t now, uint32_t active) |
| void | snapshot (uint64_t values[3]) const |
Static Public Attributes | |
| static constexpr uint64_t | PeriodNanoseconds = 5000000000ULL |
| static constexpr uint64_t | Scale = 65536 |
Static Private Member Functions | |
| static uint64_t | power (uint64_t base, uint64_t exponent) |
Private Attributes | |
| uint64_t | m_LastSample = 0 |
| uint64_t | m_Values [3] = {} |
The scheduler owns serialization and samples runnable non-idle tasks.
Definition at line 8 of file LoadAverage.h.
|
inlinestaticprivate |
Definition at line 34 of file LoadAverage.h.
|
inline |
Definition at line 28 of file LoadAverage.h.
|
inline |
Definition at line 13 of file LoadAverage.h.
|
private |
Definition at line 46 of file LoadAverage.h.
|
private |
Definition at line 47 of file LoadAverage.h.
|
staticconstexpr |
Definition at line 10 of file LoadAverage.h.
|
staticconstexpr |
Definition at line 11 of file LoadAverage.h.