SlidingAverageTime.this

Constructor

class SlidingAverageTime(T)
this
(,
size_t resolution
,
size_t output_resolution = 1000
)

Parameters

window_size size_t

size of the sliding window

resolution size_t

how much milli seconds one completed value corresponds to. Push needs to be called every <resolution> ms

output_resolution size_t

desired resolution for output in milliseconds

Meta