#include <floatstat.h>
FloatStat maintains current, average, min, max statistics in a sliding window of frames.
The window size is 300 by default, this corresponds to 5 seconds at 60 FPS.