Holds the data for the event usage statistics.
More...
#include <Imt.Base.Dff.Runtime/RuntimeStatisticsEvents.h>
Holds the data for the event usage statistics.
◆ RuntimeStatisticsEvents()
imt::base::dff::runtime::RuntimeStatisticsEvents::RuntimeStatisticsEvents |
( |
size_t const |
poolSize, |
|
|
size_t const |
smallPoolSize = 0U |
|
) |
| |
|
inlineexplicit |
◆ ~RuntimeStatisticsEvents()
virtual imt::base::dff::runtime::RuntimeStatisticsEvents::~RuntimeStatisticsEvents |
( |
| ) |
|
|
inlinevirtual |
◆ reset()
void imt::base::dff::runtime::RuntimeStatisticsEvents::reset |
( |
| ) |
|
|
inline |
Resets the event statistics.
◆ setEventsAvailable()
void imt::base::dff::runtime::RuntimeStatisticsEvents::setEventsAvailable |
( |
size_t const |
eventsAvailable | ) |
|
|
inline |
Set the current available events, which will also update the minimum available events.
- Parameters
-
eventsAvailable | Remaining events available. |
◆ setEventsAvailableSmall()
void imt::base::dff::runtime::RuntimeStatisticsEvents::setEventsAvailableSmall |
( |
size_t const |
eventsAvailableSmall | ) |
|
|
inline |
Set the current available small events, which will also update the minimum available small events.
- Parameters
-
eventsAvailableSmall | Remaining small events available. |
◆ updateAverageEventsPerSecond()
void imt::base::dff::runtime::RuntimeStatisticsEvents::updateAverageEventsPerSecond |
( |
uint32_t const |
averageEventsPerSecond | ) |
|
|
inline |
Update the average events per second.
- Parameters
-
averageEventsPerSecond | Average events per second. |
The documentation for this class was generated from the following file: