Home
last modified time | relevance | path

Searched refs:BucketRanges (Results 1 – 16 of 16) sorted by relevance

/external/libchrome/base/metrics/
Dbucket_ranges.cc106 BucketRanges::BucketRanges(size_t num_ranges) in BucketRanges() function in base::BucketRanges
110 BucketRanges::~BucketRanges() {} in ~BucketRanges()
112 void BucketRanges::set_range(size_t i, HistogramBase::Sample value) { in set_range()
118 uint32_t BucketRanges::CalculateChecksum() const { in CalculateChecksum()
127 bool BucketRanges::HasValidChecksum() const { in HasValidChecksum()
131 void BucketRanges::ResetChecksum() { in ResetChecksum()
135 bool BucketRanges::Equals(const BucketRanges* other) const { in Equals()
Dsample_vector.h25 class BucketRanges; variable
29 explicit SampleVector(const BucketRanges* bucket_ranges);
30 SampleVector(uint64_t id, const BucketRanges* bucket_ranges);
35 const BucketRanges* bucket_ranges);
69 const BucketRanges* const bucket_ranges_;
77 const BucketRanges* bucket_ranges);
80 const BucketRanges* bucket_ranges);
98 const BucketRanges* bucket_ranges_;
Dhistogram.h149 const BucketRanges* ranges,
158 BucketRanges* ranges);
184 const BucketRanges* bucket_ranges() const { return bucket_ranges_; } in bucket_ranges()
226 const BucketRanges* ranges);
237 const BucketRanges* ranges,
305 const BucketRanges* bucket_ranges_;
364 const BucketRanges* ranges,
391 BucketRanges* ranges);
402 const BucketRanges* ranges);
407 const BucketRanges* ranges,
[all …]
Dbucket_ranges.h33 class BASE_EXPORT BucketRanges {
37 explicit BucketRanges(size_t num_ranges);
38 ~BucketRanges();
59 bool Equals(const BucketRanges* other) const;
74 DISALLOW_COPY_AND_ASSIGN(BucketRanges);
Dhistogram.cc118 virtual BucketRanges* CreateRanges() { in CreateRanges()
119 BucketRanges* ranges = new BucketRanges(bucket_count_ + 1); in CreateRanges()
126 virtual std::unique_ptr<HistogramBase> HeapAlloc(const BucketRanges* ranges) { in HeapAlloc()
153 const BucketRanges* created_ranges = CreateRanges(); in Build()
154 const BucketRanges* registered_ranges = in Build()
278 const BucketRanges* ranges, in PersistentCreate()
301 BucketRanges* ranges) { in InitializeBucketRanges()
503 const BucketRanges* ranges) in Histogram()
515 const BucketRanges* ranges, in Histogram()
749 BucketRanges* CreateRanges() override { in CreateRanges()
[all …]
Dbucket_ranges_unittest.cc15 BucketRanges ranges(5); in TEST()
30 BucketRanges ranges1(3); in TEST()
31 BucketRanges ranges2(3); in TEST()
32 BucketRanges ranges3(5); in TEST()
61 BucketRanges ranges(3); in TEST()
Dsample_vector_unittest.cc22 BucketRanges ranges(3); in TEST()
49 BucketRanges ranges(3); in TEST()
76 BucketRanges ranges(5); in TEST()
122 BucketRanges ranges(9); in TEST()
142 BucketRanges ranges2(3); in TEST()
163 BucketRanges ranges1(3); in TEST()
170 BucketRanges ranges2(5); in TEST()
204 BucketRanges ranges(5); in TEST()
266 BucketRanges ranges(5); in TEST()
Dstatistics_recorder_unittest.cc84 BucketRanges* ranges = new BucketRanges(bucket_count + 1); in CreateHistogram()
86 const BucketRanges* registered_ranges = in CreateHistogram()
133 std::vector<const BucketRanges*> registered_ranges; in TEST_P()
147 BucketRanges* ranges = new BucketRanges(3); in TEST_P()
156 std::vector<const BucketRanges*> registered_ranges; in TEST_P()
158 BucketRanges* ranges1 = new BucketRanges(3); in TEST_P()
160 BucketRanges* ranges2 = new BucketRanges(4); in TEST_P()
184 BucketRanges* ranges3 = new BucketRanges(3); in TEST_P()
342 std::vector<const BucketRanges*> ranges; in TEST_P()
Dstatistics_recorder.h33 class BucketRanges; variable
116 static const BucketRanges* RegisterOrDeleteDuplicateRanges(
117 const BucketRanges* ranges);
133 static void GetBucketRanges(std::vector<const BucketRanges*>* output);
201 typedef std::map<uint32_t, std::list<const BucketRanges*>*> RangesMap;
Dsample_vector.cc15 SampleVector::SampleVector(const BucketRanges* bucket_ranges) in SampleVector()
18 SampleVector::SampleVector(uint64_t id, const BucketRanges* bucket_ranges) in SampleVector()
31 const BucketRanges* bucket_ranges) in SampleVector()
130 const BucketRanges* bucket_ranges) in SampleVectorIterator()
142 const BucketRanges* bucket_ranges) in SampleVectorIterator()
Dstatistics_recorder.cc162 const BucketRanges* StatisticsRecorder::RegisterOrDeleteDuplicateRanges( in RegisterOrDeleteDuplicateRanges()
163 const BucketRanges* ranges) { in RegisterOrDeleteDuplicateRanges()
165 std::unique_ptr<const BucketRanges> ranges_deleter; in RegisterOrDeleteDuplicateRanges()
178 std::list<const BucketRanges*>* checksum_matching_list; in RegisterOrDeleteDuplicateRanges()
182 checksum_matching_list = new std::list<const BucketRanges*>(); in RegisterOrDeleteDuplicateRanges()
189 for (const BucketRanges* existing_ranges : *checksum_matching_list) { in RegisterOrDeleteDuplicateRanges()
283 std::vector<const BucketRanges*>* output) { in GetBucketRanges()
Dhistogram_unittest.cc207 BucketRanges ranges(9); in TEST_P()
224 BucketRanges ranges2(16); in TEST_P()
251 BucketRanges ranges(9); in TEST_P()
264 BucketRanges ranges2(6); in TEST_P()
300 const BucketRanges* ranges = histogram->bucket_ranges(); in TEST_P()
349 const BucketRanges* ranges = histogram->bucket_ranges(); in TEST_P()
513 BucketRanges* bucket_ranges = in TEST_P()
514 const_cast<BucketRanges*>(histogram->bucket_ranges()); in TEST_P()
730 const BucketRanges* ranges = custom_histogram->bucket_ranges(); in TEST()
Dpersistent_histogram_allocator.cc54 std::unique_ptr<BucketRanges> CreateRangesFromData( in CreateRangesFromData()
59 std::unique_ptr<BucketRanges> ranges(new BucketRanges(count)); in CreateRangesFromData()
291 const BucketRanges* bucket_ranges, in AllocateHistogram()
547 std::unique_ptr<const BucketRanges> created_ranges = in CreateHistogram()
555 const BucketRanges* ranges = in CreateHistogram()
Dhistogram_snapshot_manager.cc50 const BucketRanges* ranges = in PrepareSamples()
Dhistogram_base.h24 class BucketRanges; variable
Dpersistent_histogram_allocator.h243 const BucketRanges* bucket_ranges,