Lines Matching refs:Value
31 template <class Value> class Histogram {
37 friend class Histogram<Value>;
49 Histogram(const char* name, Value initial_bucket_width, size_t max_buckets = 100);
50 void AddValue(Value);
51 void AdjustAndAddValue(Value); // Add a value after dividing it by kAdjust.
68 Value GetRange(size_t bucket_idx) const;
75 Value Sum() const { in Sum()
79 Value AdjustedSum() const { in AdjustedSum()
83 Value Min() const { in Min()
87 Value Max() const { in Max()
91 Value BucketWidth() const { in BucketWidth()
101 size_t FindBucket(Value val) const;
102 void BucketiseValue(Value val);
105 void GrowBuckets(Value val);
113 Value bucket_width_;
118 Value sum_;
120 Value min_;
122 Value max_;
124 Value sum_of_squares_;
126 Value min_value_added_;
128 Value max_value_added_;