| 52 | struct TimeSeries |
| 53 | { |
| 54 | TimeSeries(const Duration& _window = TIME_SERIES_WINDOW, |
| 55 | size_t _capacity = TIME_SERIES_CAPACITY) |
| 56 | : window(_window), |
| 57 | // The truncation technique requires at least 3 elements. |
| 58 | capacity(std::max((size_t) 3, _capacity)) {} |
| 59 | |
| 60 | struct Value |
| 61 | { |
nothing calls this directly
no outgoing calls
no test coverage detected