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

Name

Description

TimePoint

The time point type of the clock.

Member Functions

Name

Description

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

Created with MrDocs