Lines Matching refs:Value

35 template <class Value> inline void Histogram<Value>::AddValue(Value value) {  in AddValue()
36 CHECK_GE(value, static_cast<Value>(0)); in AddValue()
38 Value new_max = ((value + 1) / bucket_width_ + 1) * bucket_width_; in AddValue()
45 template <class Value> inline void Histogram<Value>::AdjustAndAddValue(Value value) { in AdjustAndAddValue()
49 template <class Value> inline Histogram<Value>::Histogram(const char* name) in Histogram()
57 template <class Value>
58 inline Histogram<Value>::Histogram(const char* name, Value initial_bucket_width, in Histogram()
68 template <class Value>
69 inline void Histogram<Value>::GrowBuckets(Value new_max) { in GrowBuckets()
91 template <class Value> inline size_t Histogram<Value>::FindBucket(Value val) const { in FindBucket()
102 template <class Value>
103 inline void Histogram<Value>::BucketiseValue(Value val) { in BucketiseValue()
113 template <class Value> inline void Histogram<Value>::Initialize() { in Initialize()
121 template <class Value> inline size_t Histogram<Value>::GetBucketCount() const { in GetBucketCount()
125 template <class Value> inline void Histogram<Value>::Reset() { in Reset()
130 min_value_added_ = std::numeric_limits<Value>::max(); in Reset()
131 max_value_added_ = std::numeric_limits<Value>::min(); in Reset()
136 template <class Value> inline Value Histogram<Value>::GetRange(size_t bucket_idx) const { in GetRange()
141 template <class Value> inline double Histogram<Value>::Mean() const { in Mean()
146 template <class Value> inline double Histogram<Value>::Variance() const { in Variance()
150 Value sum_squared = sum_ * sum_; in Variance()
159 template <class Value>
160 inline void Histogram<Value>::PrintBins(std::ostream& os, const CumulativeData& data) const { in PrintBins()
172 template <class Value>
173 inline void Histogram<Value>::DumpBins(std::ostream& os) const { in DumpBins()
189 template <class Value>
190 inline void Histogram<Value>::PrintConfidenceIntervals(std::ostream &os, double interval, in PrintConfidenceIntervals()
206 template <class Value>
207 inline void Histogram<Value>::PrintMemoryUse(std::ostream &os) const { in PrintMemoryUse()
217 template <class Value>
218 inline void Histogram<Value>::CreateHistogram(CumulativeData* out_data) const { in CreateHistogram()
237 template <class Value>
238 inline double Histogram<Value>::Percentile(double per, const CumulativeData& data) const { in Percentile()