HomeSort by relevance Sort by last modified time
    Searched refs:BucketRanges (Results 1 - 13 of 13) sorted by null

  /external/libchrome/base/metrics/
bucket_ranges.h 5 // BucketRanges stores the vector of ranges that delimit what samples are
8 // BucketRanges object.
11 // value will need a BucketRanges with 6 ranges:
33 class BASE_EXPORT BucketRanges {
37 explicit BucketRanges(size_t num_ranges);
38 ~BucketRanges();
59 bool Equals(const BucketRanges* other) const;
68 // of our data, and to quickly see if some other BucketRanges instance is
74 DISALLOW_COPY_AND_ASSIGN(BucketRanges);
sample_vector.h 25 class BucketRanges;
29 explicit SampleVector(const BucketRanges* bucket_ranges);
30 SampleVector(uint64_t id, const BucketRanges* bucket_ranges);
35 const BucketRanges* bucket_ranges);
67 // Shares the same BucketRanges with Histogram object.
68 const BucketRanges* const bucket_ranges_;
76 const BucketRanges* bucket_ranges);
79 const BucketRanges* bucket_ranges);
97 const BucketRanges* bucket_ranges_;
bucket_ranges_unittest.cc 15 BucketRanges ranges(5);
30 BucketRanges ranges1(3);
31 BucketRanges ranges2(3);
32 BucketRanges ranges3(5);
61 BucketRanges ranges(3);
statistics_recorder.h 5 // StatisticsRecorder holds all Histograms and BucketRanges that are used by
7 // Histograms/BucketRanges to register, and supports a global API for accessing
29 class BucketRanges;
48 // Register, or add a new BucketRanges. If an identically BucketRanges is
50 // value is always the registered BucketRanges (either the argument, or the
52 static const BucketRanges* RegisterOrDeleteDuplicateRanges(
53 const BucketRanges* ranges);
68 // Method for extracting BucketRanges used by all histograms registered.
69 static void GetBucketRanges(std::vector<const BucketRanges*>* output)
    [all...]
bucket_ranges.cc 106 BucketRanges::BucketRanges(size_t num_ranges)
110 BucketRanges::~BucketRanges() {}
112 void BucketRanges::set_range(size_t i, HistogramBase::Sample value) {
118 uint32_t BucketRanges::CalculateChecksum() const {
127 bool BucketRanges::HasValidChecksum() const {
131 void BucketRanges::ResetChecksum() {
135 bool BucketRanges::Equals(const BucketRanges* other) const
    [all...]
sample_vector_unittest.cc 22 BucketRanges ranges(3);
49 BucketRanges ranges(5);
95 BucketRanges ranges(9);
113 // Note, this is not a valid BucketRanges for Histogram because it does not
115 BucketRanges ranges2(3);
136 BucketRanges ranges1(3);
143 BucketRanges ranges2(5);
177 BucketRanges ranges(5);
189 // BucketRanges can have larger size than counts.
239 BucketRanges ranges(5)
    [all...]
statistics_recorder_unittest.cc 23 // Each test will have a clean state (no Histogram / BucketRanges
43 BucketRanges* ranges = new BucketRanges(bucket_count + 1);
45 const BucketRanges* registered_ranges =
63 std::vector<const BucketRanges*> registered_ranges;
77 BucketRanges* ranges = new BucketRanges(3);
86 std::vector<const BucketRanges*> registered_ranges;
88 BucketRanges* ranges1 = new BucketRanges(3)
    [all...]
histogram.h 143 BucketRanges* ranges);
168 const BucketRanges* bucket_ranges() const { return 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(
statistics_recorder.cc 87 const BucketRanges* StatisticsRecorder::RegisterOrDeleteDuplicateRanges(
88 const BucketRanges* ranges) {
90 scoped_ptr<const BucketRanges> ranges_deleter;
101 std::list<const BucketRanges*>* checksum_matching_list;
105 checksum_matching_list = new std::list<const BucketRanges*>();
111 for (const BucketRanges* existing_ranges : *checksum_matching_list) {
121 // We haven't found a BucketRanges which has the same ranges. Register the
122 // new BucketRanges.
204 std::vector<const BucketRanges*>* output) {
histogram.cc 99 BucketRanges* ranges = new BucketRanges(bucket_count + 1);
101 const BucketRanges* registered_ranges =
165 BucketRanges* ranges) {
338 const BucketRanges* ranges)
600 BucketRanges* ranges = new BucketRanges(bucket_count + 1);
602 const BucketRanges* registered_ranges =
642 const BucketRanges* ranges)
669 BucketRanges* ranges)
    [all...]
sample_vector.cc 15 SampleVector::SampleVector(const BucketRanges* bucket_ranges)
18 SampleVector::SampleVector(uint64_t id, const BucketRanges* bucket_ranges)
31 const BucketRanges* bucket_ranges)
133 const BucketRanges* bucket_ranges)
145 const BucketRanges* bucket_ranges)
histogram_unittest.cc 30 // Each test will have a clean state (no Histogram / BucketRanges
89 BucketRanges ranges(9);
106 BucketRanges ranges2(16);
133 BucketRanges ranges(9);
146 BucketRanges ranges2(6);
182 const BucketRanges* ranges = histogram->bucket_ranges();
231 const BucketRanges* ranges = histogram->bucket_ranges();
365 BucketRanges* bucket_ranges =
366 const_cast<BucketRanges*>(histogram->bucket_ranges());
519 const BucketRanges* ranges = custom_histogram->bucket_ranges()
    [all...]
  /system/core/metricsd/uploader/
metrics_log_base_unittest.cc 82 base::BucketRanges ranges(8);

Completed in 244 milliseconds