folly::SimpleQuantileEstimator

A QuantileEstimator that buffers writes for 1 second.

Synopsis

Declared in <folly/stats/QuantileEstimator.h>

template<typename ClockT = std::chrono::steady_clock>
class SimpleQuantileEstimator;

Type Aliases

NameDescription
TimePoint The time point type of the clock.

Member Functions

NameDescription
SimpleQuantileEstimator [constructor]Construct an empty estimator.
addValue Add a value at the given time.
estimateQuantiles Estimate the given quantiles over the buffered data.
flush Flush buffered values
getDigest Get point-in-time TDigest