Lines Matching refs:HistogramBase
41 using CountsMap = std::map<std::string, HistogramBase::Count, std::less<>>;
57 HistogramBase::Sample sample,
58 HistogramBase::Count expected_bucket_count,
63 HistogramBase::Count expected_bucket_count,
65 ExpectUniqueSample(name, static_cast<HistogramBase::Sample>(sample),
70 HistogramBase::Count expected_bucket_count,
77 HistogramBase::Sample sample,
78 HistogramBase::Count expected_count,
83 HistogramBase::Count expected_count,
85 ExpectBucketCount(name, static_cast<HistogramBase::Sample>(sample),
90 HistogramBase::Count expected_count,
96 HistogramBase::Count expected_count,
137 HistogramBase::Count GetBucketCount(StringPiece name,
138 HistogramBase::Sample sample) const;
140 HistogramBase::Count GetBucketCount(StringPiece name, T sample) const { in GetBucketCount()
141 return GetBucketCount(name, static_cast<HistogramBase::Sample>(sample)); in GetBucketCount()
177 int GetTotalCountForSamples(const HistogramBase& histogram) const;
183 void GetBucketCountForSamples(const HistogramBase& histogram,
184 HistogramBase::Sample sample,
185 HistogramBase::Count* sample_count,
186 HistogramBase::Count* total_count) const;
190 std::string SnapshotToString(const HistogramBase& histogram) const;
200 Bucket(HistogramBase::Sample min, HistogramBase::Count count) in Bucket()
211 Bucket(MetricEnum min, HistogramBase::Count count) in Bucket()
216 HistogramBase::Sample min;
217 HistogramBase::Count count;
268 std::vector<HistogramBase::Sample> empty_buckets; in BucketsIncludeArray()