17 #ifndef CARTOGRAPHER_METRICS_HISTOGRAM_H_ 18 #define CARTOGRAPHER_METRICS_HISTOGRAM_H_ 38 virtual void Observe(
double value) = 0;
44 #endif // CARTOGRAPHER_METRICS_HISTOGRAM_H_ virtual ~Histogram()=default
static Histogram * Null()
virtual void Observe(double value)=0
static BucketBoundaries FixedWidth(double width, int num_finite_buckets)
std::vector< double > BucketBoundaries
static BucketBoundaries ScaledPowersOf(double base, double scale_factor, double max_value)