Lines Matching refs:Value
31 template <class Value> class Histogram {
37 friend class Histogram<Value>;
46 Histogram(const char* name, Value initial_bucket_width, size_t max_buckets = 100);
47 void AddValue(Value);
48 void AdjustAndAddValue(Value); // Add a value after dividing it by kAdjust.
65 Value GetRange(size_t bucket_idx) const;
72 Value Sum() const { in Sum()
76 Value AdjustedSum() const { in AdjustedSum()
80 Value Min() const { in Min()
84 Value Max() const { in Max()
88 Value BucketWidth() const { in BucketWidth()
98 size_t FindBucket(Value val) const;
99 void BucketiseValue(Value val);
102 void GrowBuckets(Value val);
110 Value bucket_width_;
115 Value sum_;
117 Value min_;
119 Value max_;
121 Value sum_of_squares_;
123 Value min_value_added_;
125 Value max_value_added_;