proxygen
|
#include <QuantileEstimator.h>
Public Types | |
using | TimePoint = typename ClockT::time_point |
Public Member Functions | |
SimpleQuantileEstimator () | |
QuantileEstimates | estimateQuantiles (Range< const double * > quantiles, TimePoint now=ClockT::now()) |
void | addValue (double value, TimePoint now=ClockT::now()) |
void | flush () |
Flush buffered values. More... | |
Private Attributes | |
detail::BufferedDigest< TDigest, ClockT > | bufferedDigest_ |
Definition at line 36 of file QuantileEstimator.h.
using folly::SimpleQuantileEstimator< ClockT >::TimePoint = typename ClockT::time_point |
Definition at line 38 of file QuantileEstimator.h.
folly::SimpleQuantileEstimator< ClockT >::SimpleQuantileEstimator | ( | ) |
Definition at line 33 of file QuantileEstimator-defs.h.
void folly::SimpleQuantileEstimator< ClockT >::addValue | ( | double | value, |
TimePoint | now = ClockT::now() |
||
) |
Definition at line 45 of file QuantileEstimator-defs.h.
References folly::SimpleQuantileEstimator< ClockT >::bufferedDigest_.
Referenced by TEST().
QuantileEstimates folly::SimpleQuantileEstimator< ClockT >::estimateQuantiles | ( | Range< const double * > | quantiles, |
TimePoint | now = ClockT::now() |
||
) |
Definition at line 37 of file QuantileEstimator-defs.h.
References folly::SimpleQuantileEstimator< ClockT >::bufferedDigest_, and folly::detail::estimatesFromDigest().
Referenced by TEST().
|
inline |
Flush buffered values.
Definition at line 49 of file QuantileEstimator.h.
|
private |
Definition at line 54 of file QuantileEstimator.h.
Referenced by folly::SimpleQuantileEstimator< ClockT >::addValue(), and folly::SimpleQuantileEstimator< ClockT >::estimateQuantiles().