5 #ifndef STORAGE_LEVELDB_UTIL_HISTOGRAM_H_ 6 #define STORAGE_LEVELDB_UTIL_HISTOGRAM_H_ 18 void Add(
double value);
42 #endif // STORAGE_LEVELDB_UTIL_HISTOGRAM_H_ double sum_squares_
Definition: histogram.h:28
double sum_
Definition: histogram.h:27
Definition: autocompact_test.cc:11
void Merge(const Histogram &other)
Definition: histogram.cc:58
void Add(double value)
Definition: histogram.cc:44
static const double kBucketLimit[kNumBuckets]
Definition: histogram.h:31
Definition: histogram.h:12
void Clear()
Definition: histogram.cc:33
double num_
Definition: histogram.h:26
double max_
Definition: histogram.h:25
double Percentile(double p) const
Definition: histogram.cc:73
std::string ToString() const
Definition: histogram.cc:105
Histogram()
Definition: histogram.h:14
Definition: histogram.h:30
~Histogram()
Definition: histogram.h:15
double buckets_[kNumBuckets]
Definition: histogram.h:32
double Average() const
Definition: histogram.cc:94
double Median() const
Definition: histogram.cc:69
double StandardDeviation() const
Definition: histogram.cc:99
double min_
Definition: histogram.h:24