|
roo_monitoring
API Documentation for roo_monitoring
|
Represents a single data sample stored in a vault file. More...
#include <sample.h>
Public Member Functions | |
| Sample (uint64_t stream_id, uint16_t avg_value, uint16_t min_value, uint16_t max_value, uint16_t fill) | |
| Creates a sample with aggregated values. | |
| uint64_t | stream_id () const |
| Returns the stream identifier. | |
| uint16_t | avg_value () const |
| Returns the average value for the bucket. | |
| uint16_t | min_value () const |
| Returns the minimum value for the bucket. | |
| uint16_t | max_value () const |
| Returns the maximum value for the bucket. | |
| uint16_t | fill () const |
| Returns the fill value (0x2000 == 100%). | |
|
inline |
|
inline |
Returns the average value for the bucket.
Definition at line 20 of file sample.h.
Referenced by roo_monitoring::Aggregator::add().
|
inline |
Returns the fill value (0x2000 == 100%).
Definition at line 26 of file sample.h.
Referenced by roo_monitoring::Aggregator::add().
|
inline |
Returns the maximum value for the bucket.
Definition at line 24 of file sample.h.
Referenced by roo_monitoring::Aggregator::add().
|
inline |
Returns the minimum value for the bucket.
Definition at line 22 of file sample.h.
Referenced by roo_monitoring::Aggregator::add().
|
inline |
Returns the stream identifier.
Definition at line 18 of file sample.h.
Referenced by roo_monitoring::Aggregator::add().