Apache Mesos
|
#include <timeseries.hpp>
Classes | |
struct | Value |
Public Member Functions | |
TimeSeries (const Duration &_window=TIME_SERIES_WINDOW, size_t _capacity=TIME_SERIES_CAPACITY) | |
void | set (const T &value, const Time &time=Clock::now()) |
std::vector< Value > | get (const Option< Time > &start=None(), const Option< Time > &stop=None()) const |
Option< Value > | latest () const |
bool | empty () const |
void | truncate () |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |