Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Dbucket_ranges.cc89 BucketRanges::BucketRanges(size_t num_ranges) in BucketRanges() function in base::BucketRanges
93 BucketRanges::~BucketRanges() = default;
95 uint32_t BucketRanges::CalculateChecksum() const { in CalculateChecksum()
104 bool BucketRanges::HasValidChecksum() const { in HasValidChecksum()
108 void BucketRanges::ResetChecksum() { in ResetChecksum()
112 bool BucketRanges::Equals(const BucketRanges* other) const { in Equals()
Dsample_vector.h28 class BucketRanges; variable
34 const BucketRanges* bucket_ranges);
48 const BucketRanges* bucket_ranges() const { return bucket_ranges_; } in bucket_ranges()
109 const BucketRanges* const bucket_ranges_;
117 explicit SampleVector(const BucketRanges* bucket_ranges);
118 SampleVector(uint64_t id, const BucketRanges* bucket_ranges);
136 const BucketRanges* bucket_ranges,
157 const BucketRanges* bucket_ranges);
160 const BucketRanges* bucket_ranges);
178 const BucketRanges* bucket_ranges_;
Dstatistics_recorder.h34 class BucketRanges; variable
94 static const BucketRanges* RegisterOrDeleteDuplicateRanges(
95 const BucketRanges* ranges);
124 static std::vector<const BucketRanges*> GetBucketRanges();
235 size_t operator()(const BucketRanges* a) const;
239 bool operator()(const BucketRanges* a, const BucketRanges* b) const;
243 unordered_set<const BucketRanges*, BucketRangesHash, BucketRangesEqual>
Dbucket_ranges.h34 class BASE_EXPORT BucketRanges {
38 explicit BucketRanges(size_t num_ranges);
39 ~BucketRanges();
64 bool Equals(const BucketRanges* other) const;
96 DISALLOW_COPY_AND_ASSIGN(BucketRanges);
Dhistogram.h159 const BucketRanges* ranges,
167 BucketRanges* ranges);
189 const BucketRanges* bucket_ranges() const;
240 const BucketRanges* ranges);
251 const BucketRanges* ranges,
378 const BucketRanges* ranges,
404 BucketRanges* ranges);
415 const BucketRanges* ranges);
420 const BucketRanges* ranges,
514 const BucketRanges* ranges,
[all …]
Dhistogram.cc127 virtual BucketRanges* CreateRanges() { in CreateRanges()
128 BucketRanges* ranges = new BucketRanges(bucket_count_ + 1); in CreateRanges()
135 virtual std::unique_ptr<HistogramBase> HeapAlloc(const BucketRanges* ranges) { in HeapAlloc()
169 const BucketRanges* created_ranges = CreateRanges(); in Build()
170 const BucketRanges* registered_ranges = in Build()
311 const BucketRanges* ranges, in PersistentCreate()
332 BucketRanges* ranges) { in InitializeBucketRanges()
392 const BucketRanges* Histogram::bucket_ranges() const { in bucket_ranges()
397 const BucketRanges* ranges = bucket_ranges(); in declared_min()
404 const BucketRanges* ranges = bucket_ranges(); in declared_max()
[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()
Dstatistics_recorder.cc43 const BucketRanges* const a) const { in operator ()()
48 const BucketRanges* const a, in operator ()()
49 const BucketRanges* const b) const { in operator ()()
118 const BucketRanges* StatisticsRecorder::RegisterOrDeleteDuplicateRanges( in RegisterOrDeleteDuplicateRanges()
119 const BucketRanges* ranges) { in RegisterOrDeleteDuplicateRanges()
123 std::unique_ptr<const BucketRanges> ranges_deleter; in RegisterOrDeleteDuplicateRanges()
127 const BucketRanges* const registered = *top_->ranges_.insert(ranges).first; in RegisterOrDeleteDuplicateRanges()
178 std::vector<const BucketRanges*> StatisticsRecorder::GetBucketRanges() { in GetBucketRanges()
179 std::vector<const BucketRanges*> out; in GetBucketRanges()
Dsample_vector_unittest.cc34 BucketRanges ranges(3); in TEST_F()
61 BucketRanges ranges(3); in TEST_F()
88 BucketRanges ranges(5); in TEST_F()
133 BucketRanges ranges(9); in TEST_F()
153 BucketRanges ranges2(3); in TEST_F()
174 BucketRanges ranges1(3); in TEST_F()
181 BucketRanges ranges2(5); in TEST_F()
214 BucketRanges ranges(5); in TEST_F()
274 BucketRanges ranges(5); in TEST_F()
300 BucketRanges ranges(3); in TEST_F()
[all …]
Dstatistics_recorder_unittest.cc101 BucketRanges* ranges = new BucketRanges(bucket_count + 1); in CreateHistogram()
103 const BucketRanges* registered_ranges = in CreateHistogram()
146 BucketRanges* const 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()
Dsample_vector.cc28 const BucketRanges* bucket_ranges) in SampleVectorBase()
285 SampleVector::SampleVector(const BucketRanges* bucket_ranges) in SampleVector()
288 SampleVector::SampleVector(uint64_t id, const BucketRanges* bucket_ranges) in SampleVector()
307 const BucketRanges* bucket_ranges, in PersistentSampleVector()
366 const BucketRanges* bucket_ranges) in SampleVectorIterator()
378 const BucketRanges* bucket_ranges) in SampleVectorIterator()
Dhistogram_unittest.cc227 BucketRanges ranges(9); in TEST_P()
244 BucketRanges ranges2(16); in TEST_P()
271 BucketRanges ranges(9); in TEST_P()
284 BucketRanges ranges2(6); in TEST_P()
320 const BucketRanges* ranges = histogram->bucket_ranges(); in TEST_P()
369 const BucketRanges* ranges = histogram->bucket_ranges(); in TEST_P()
553 BucketRanges* bucket_ranges = in TEST_P()
554 const_cast<BucketRanges*>(histogram->bucket_ranges()); in TEST_P()
804 const BucketRanges* ranges = custom_histogram->bucket_ranges(); in TEST()
Dpersistent_histogram_allocator.cc59 std::unique_ptr<BucketRanges> CreateRangesFromData( in CreateRangesFromData()
64 std::unique_ptr<BucketRanges> ranges(new BucketRanges(count)); in CreateRangesFromData()
314 const BucketRanges* bucket_ranges, in AllocateHistogram()
543 std::unique_ptr<const BucketRanges> created_ranges = CreateRangesFromData( in CreateHistogram()
547 const BucketRanges* ranges = in CreateHistogram()
Dpersistent_histogram_allocator.h22 class BucketRanges; variable
244 const BucketRanges* bucket_ranges,
Dhistogram_snapshot_manager.cc88 const BucketRanges* ranges = in PrepareSamples()
/external/libchrome/libchrome_tools/patch/
Dvirtual_destructor.patch18 BucketRanges* CreateRanges() override {
26 BucketRanges* CreateRanges() override {
34 BucketRanges* CreateRanges() override {