Home
last modified time | relevance | path

Searched refs:BucketRanges (Results 1 – 12 of 12) 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);
68 const BucketRanges* const bucket_ranges_;
76 const BucketRanges* bucket_ranges);
79 const BucketRanges* bucket_ranges);
97 const BucketRanges* bucket_ranges_;
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);
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.h29 class BucketRanges; variable
52 static const BucketRanges* RegisterOrDeleteDuplicateRanges(
53 const BucketRanges* ranges);
69 static void GetBucketRanges(std::vector<const BucketRanges*>* output);
111 typedef std::map<uint32_t, std::list<const BucketRanges*>*> RangesMap;
Dstatistics_recorder_unittest.cc43 BucketRanges* ranges = new BucketRanges(bucket_count + 1); in CreateHistogram()
45 const BucketRanges* registered_ranges = in CreateHistogram()
63 std::vector<const BucketRanges*> registered_ranges; in TEST_F()
77 BucketRanges* ranges = new BucketRanges(3); in TEST_F()
86 std::vector<const BucketRanges*> registered_ranges; in TEST_F()
88 BucketRanges* ranges1 = new BucketRanges(3); in TEST_F()
90 BucketRanges* ranges2 = new BucketRanges(4); in TEST_F()
114 BucketRanges* ranges3 = new BucketRanges(3); in TEST_F()
242 std::vector<const BucketRanges*> ranges; in TEST_F()
Dhistogram.h143 BucketRanges* ranges);
168 const BucketRanges* bucket_ranges() const { return bucket_ranges_; } in bucket_ranges()
201 const BucketRanges* ranges);
269 const BucketRanges* bucket_ranges_;
336 BucketRanges* ranges);
345 const BucketRanges* ranges);
386 BooleanHistogram(const std::string& name, const BucketRanges* ranges);
428 const BucketRanges* ranges);
441 static BucketRanges* CreateBucketRangesFromCustomRanges(
Dsample_vector_unittest.cc22 BucketRanges ranges(3); in TEST()
49 BucketRanges ranges(5); in TEST()
95 BucketRanges ranges(9); in TEST()
115 BucketRanges ranges2(3); in TEST()
136 BucketRanges ranges1(3); in TEST()
143 BucketRanges ranges2(5); in TEST()
177 BucketRanges ranges(5); in TEST()
239 BucketRanges ranges(5); in TEST()
Dhistogram.cc99 BucketRanges* ranges = new BucketRanges(bucket_count + 1); in FactoryGet()
101 const BucketRanges* registered_ranges = in FactoryGet()
165 BucketRanges* ranges) { in InitializeBucketRanges()
338 const BucketRanges* ranges) in Histogram()
600 BucketRanges* ranges = new BucketRanges(bucket_count + 1); in FactoryGetWithRangeDescription()
602 const BucketRanges* registered_ranges = in FactoryGetWithRangeDescription()
642 const BucketRanges* ranges) in LinearHistogram()
669 BucketRanges* ranges) { in InitializeBucketRanges()
714 BucketRanges* ranges = new BucketRanges(4); in FactoryGet()
716 const BucketRanges* registered_ranges = in FactoryGet()
[all …]
Dstatistics_recorder.cc87 const BucketRanges* StatisticsRecorder::RegisterOrDeleteDuplicateRanges( in RegisterOrDeleteDuplicateRanges()
88 const BucketRanges* ranges) { in RegisterOrDeleteDuplicateRanges()
90 scoped_ptr<const BucketRanges> ranges_deleter; in RegisterOrDeleteDuplicateRanges()
101 std::list<const BucketRanges*>* checksum_matching_list; in RegisterOrDeleteDuplicateRanges()
105 checksum_matching_list = new std::list<const BucketRanges*>(); in RegisterOrDeleteDuplicateRanges()
111 for (const BucketRanges* existing_ranges : *checksum_matching_list) { in RegisterOrDeleteDuplicateRanges()
204 std::vector<const BucketRanges*>* output) { in GetBucketRanges()
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()
133 const BucketRanges* bucket_ranges) in SampleVectorIterator()
145 const BucketRanges* bucket_ranges) in SampleVectorIterator()
Dhistogram_unittest.cc89 BucketRanges ranges(9); in TEST_F()
106 BucketRanges ranges2(16); in TEST_F()
133 BucketRanges ranges(9); in TEST_F()
146 BucketRanges ranges2(6); in TEST_F()
182 const BucketRanges* ranges = histogram->bucket_ranges(); in TEST_F()
231 const BucketRanges* ranges = histogram->bucket_ranges(); in TEST_F()
365 BucketRanges* bucket_ranges = in TEST_F()
366 const_cast<BucketRanges*>(histogram->bucket_ranges()); in TEST_F()
519 const BucketRanges* ranges = custom_histogram->bucket_ranges(); in TEST()