Home | History | Annotate | Download | only in base

Lines Matching full:histogram

20 #include "histogram.h"
31 template <class Value> inline void Histogram<Value>::AddValue(Value value) {
42 template <class Value> inline Histogram<Value>::Histogram(const char* name)
50 inline Histogram<Value>::Histogram(const char* name, Value initial_bucket_width,
61 inline void Histogram<Value>::GrowBuckets(Value new_max) {
83 template <class Value> inline size_t Histogram<Value>::FindBucket(Value val) const {
84 // Since this is only a linear histogram, bucket index can be found simply with
95 inline void Histogram<Value>::BucketiseValue(Value val) {
105 template <class Value> inline void Histogram<Value>::Initialize() {
113 template <class Value> inline size_t Histogram<Value>::GetBucketCount() const {
117 template <class Value> inline void Histogram<Value>::Reset() {
128 template <class Value> inline Value Histogram<Value>::GetRange(size_t bucket_idx) const {
133 template <class Value> inline double Histogram<Value>::Mean() const {
138 template <class Value> inline double Histogram<Value>::Variance() const {
152 inline void Histogram<Value>::PrintBins(std::ostream& os, const CumulativeData& data) const {
165 inline void Histogram<Value>::PrintConfidenceIntervals(std::ostream &os, double interval,
182 inline void Histogram<Value>::CreateHistogram(CumulativeData* out_data) const {
199 inline double Histogram<Value>::Percentile(double per, const CumulativeData& data) const {