Home
last modified time | relevance | path

Searched refs:bucket_ranges (Results 1 – 25 of 28) sorted by relevance

12

/external/libchrome/base/metrics/
Dsample_vector.cc28 const BucketRanges* bucket_ranges) in SampleVectorBase() argument
29 : HistogramSamples(id, meta), bucket_ranges_(bucket_ranges) { in SampleVectorBase()
285 SampleVector::SampleVector(const BucketRanges* bucket_ranges) in SampleVector() argument
286 : SampleVector(0, bucket_ranges) {} in SampleVector()
288 SampleVector::SampleVector(uint64_t id, const BucketRanges* bucket_ranges) in SampleVector() argument
289 : SampleVectorBase(id, new LocalMetadata(), bucket_ranges) {} in SampleVector()
307 const BucketRanges* bucket_ranges, in PersistentSampleVector() argument
310 : SampleVectorBase(id, meta, bucket_ranges), persistent_counts_(counts) { in PersistentSampleVector()
366 const BucketRanges* bucket_ranges) in SampleVectorIterator() argument
369 bucket_ranges_(bucket_ranges), in SampleVectorIterator()
[all …]
Dhistogram_unittest.cc240 EXPECT_TRUE(ranges.Equals(histogram->bucket_ranges())); in TEST_P()
267 EXPECT_TRUE(ranges2.Equals(histogram2->bucket_ranges())); in TEST_P()
281 EXPECT_TRUE(ranges.Equals(histogram->bucket_ranges())); in TEST_P()
295 EXPECT_TRUE(ranges2.Equals(histogram2->bucket_ranges())); in TEST_P()
320 const BucketRanges* ranges = histogram->bucket_ranges(); in TEST_P()
334 ranges = histogram->bucket_ranges(); in TEST_P()
349 ranges = histogram->bucket_ranges(); in TEST_P()
369 const BucketRanges* ranges = histogram->bucket_ranges(); in TEST_P()
553 BucketRanges* bucket_ranges = in TEST_P() local
554 const_cast<BucketRanges*>(histogram->bucket_ranges()); in TEST_P()
[all …]
Dsample_vector.h34 const BucketRanges* bucket_ranges);
48 const BucketRanges* bucket_ranges() const { return bucket_ranges_; } in bucket_ranges() function
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);
Dhistogram.cc87 return casted_histogram.bucket_ranges()->checksum() == range_checksum; in ValidateRangeChecksum()
372 if (!bucket_ranges()->HasValidChecksum()) in FindCorruption()
392 const BucketRanges* Histogram::bucket_ranges() const { in bucket_ranges() function in base::Histogram
393 return unlogged_samples_->bucket_ranges(); in bucket_ranges()
397 const BucketRanges* ranges = bucket_ranges(); in declared_min()
404 const BucketRanges* ranges = bucket_ranges(); in declared_max()
411 return bucket_ranges()->range(i); in ranges()
415 return static_cast<uint32_t>(bucket_ranges()->bucket_count()); in bucket_count()
568 CHECK(unlogged_samples_->bucket_ranges()); in ValidateHistogramContents()
570 CHECK(logged_samples_->bucket_ranges()); in ValidateHistogramContents()
[all …]
Dpersistent_histogram_allocator.cc314 const BucketRanges* bucket_ranges, in AllocateHistogram() argument
341 size_t bucket_count = bucket_ranges->bucket_count(); in AllocateHistogram()
359 bucket_ranges->persistent_reference(); in AllocateHistogram()
370 for (size_t i = 0; i < bucket_ranges->size(); ++i) in AllocateHistogram()
371 ranges_data[i] = bucket_ranges->range(i); in AllocateHistogram()
372 bucket_ranges->set_persistent_reference(ranges_ref); in AllocateHistogram()
395 histogram_data->ranges_checksum = bucket_ranges->checksum(); in AllocateHistogram()
Dhistogram_snapshot_manager.cc89 static_cast<const Histogram*>(histogram)->bucket_ranges(); in PrepareSamples()
Dpersistent_histogram_allocator_unittest.cc349 ->bucket_ranges() in TEST_F()
353 ->bucket_ranges() in TEST_F()
Dpersistent_histogram_allocator.h244 const BucketRanges* bucket_ranges,
Dstatistics_recorder.cc301 static_cast<Histogram*>(base)->bucket_ranges()->set_persistent_reference(0); in ForgetHistogramForTesting()
Dhistogram.h189 const BucketRanges* bucket_ranges() const;
/external/cronet/base/metrics/
Dsample_vector.h50 const BucketRanges* bucket_ranges() const { return bucket_ranges_; } in bucket_ranges() function
55 const BucketRanges* bucket_ranges);
58 const BucketRanges* bucket_ranges);
122 explicit SampleVector(const BucketRanges* bucket_ranges);
123 SampleVector(uint64_t id, const BucketRanges* bucket_ranges);
151 size_t bucket_count() const { return bucket_ranges()->bucket_count(); } in bucket_count()
161 const BucketRanges* bucket_ranges,
Dsample_vector.cc39 const BucketRanges* bucket_ranges) in IteratorTemplate() argument
42 bucket_ranges_(bucket_ranges) { in IteratorTemplate()
131 const BucketRanges* bucket_ranges) in SampleVectorBase() argument
132 : HistogramSamples(id, meta), bucket_ranges_(bucket_ranges) { in SampleVectorBase()
138 const BucketRanges* bucket_ranges) in SampleVectorBase() argument
139 : HistogramSamples(id, std::move(meta)), bucket_ranges_(bucket_ranges) { in SampleVectorBase()
457 SampleVector::SampleVector(const BucketRanges* bucket_ranges) in SampleVector() argument
458 : SampleVector(0, bucket_ranges) {} in SampleVector()
460 SampleVector::SampleVector(uint64_t id, const BucketRanges* bucket_ranges) in SampleVector() argument
461 : SampleVectorBase(id, std::make_unique<LocalMetadata>(), bucket_ranges) {} in SampleVector()
[all …]
Dhistogram_unittest.cc325 EXPECT_TRUE(ranges.Equals(histogram->bucket_ranges())); in TEST_P()
352 EXPECT_TRUE(ranges2.Equals(histogram2->bucket_ranges())); in TEST_P()
366 EXPECT_TRUE(ranges.Equals(histogram->bucket_ranges())); in TEST_P()
380 EXPECT_TRUE(ranges2.Equals(histogram2->bucket_ranges())); in TEST_P()
423 const BucketRanges* ranges = histogram->bucket_ranges(); in TEST_P()
436 ranges = histogram->bucket_ranges(); in TEST_P()
450 ranges = histogram->bucket_ranges(); in TEST_P()
469 const BucketRanges* ranges = histogram->bucket_ranges(); in TEST_P()
651 BucketRanges* bucket_ranges = in TEST_P() local
652 const_cast<BucketRanges*>(histogram->bucket_ranges()); in TEST_P()
[all …]
Dhistogram.cc92 return casted_histogram.bucket_ranges()->checksum() == range_checksum; in ValidateRangeChecksum()
375 if (!bucket_ranges()->HasValidChecksum()) in FindCorruption()
395 const BucketRanges* Histogram::bucket_ranges() const { in bucket_ranges() function in base::Histogram
396 return unlogged_samples_->bucket_ranges(); in bucket_ranges()
400 const BucketRanges* ranges = bucket_ranges(); in declared_min()
407 const BucketRanges* ranges = bucket_ranges(); in declared_max()
414 return bucket_ranges()->range(i); in ranges()
418 return bucket_ranges()->bucket_count(); in bucket_count()
565 std::make_unique<SampleVector>(unlogged_samples_->id(), bucket_ranges()); in SnapshotDelta()
596 DCHECK(bucket_ranges()->HasValidChecksum()); in SerializeInfoImpl()
[all …]
Dpersistent_histogram_allocator.cc313 const BucketRanges* bucket_ranges, in AllocateHistogram() argument
340 size_t bucket_count = bucket_ranges->bucket_count(); in AllocateHistogram()
358 bucket_ranges->persistent_reference(); in AllocateHistogram()
369 for (size_t i = 0; i < bucket_ranges->size(); ++i) in AllocateHistogram()
370 ranges_data[i] = bucket_ranges->range(i); in AllocateHistogram()
371 bucket_ranges->set_persistent_reference(ranges_ref); in AllocateHistogram()
394 histogram_data->ranges_checksum = bucket_ranges->checksum(); in AllocateHistogram()
Dhistogram_snapshot_manager.cc85 static_cast<const Histogram*>(histogram)->bucket_ranges(); in PrepareSamples()
Dhistogram_threadsafe_unittest.cc108 static_cast<Histogram*>(histogram)->bucket_ranges(); in StoreActualSample()
230 numeric_histogram->bucket_ranges())); in CreateHistograms()
Dpersistent_histogram_allocator_unittest.cc433 ->bucket_ranges() in TEST_F()
437 ->bucket_ranges() in TEST_F()
Dpersistent_histogram_allocator.h255 const BucketRanges* bucket_ranges,
Dstatistics_recorder.cc369 static_cast<Histogram*>(base)->bucket_ranges()->set_persistent_reference(0); in ForgetHistogramForTesting()
Dhistogram.h194 const BucketRanges* bucket_ranges() const;
/external/pigweed/third_party/chromium_verifier/
Dsources.gni99 "base/metrics/bucket_ranges.cc",
/external/openscreen/third_party/chromium_quic/build/base/
DBUILD.gn200 "../../src/base/metrics/bucket_ranges.cc",
201 "../../src/base/metrics/bucket_ranges.h",
/external/libchrome/
DAndroid.bp222 "base/metrics/bucket_ranges.h",
637 "base/metrics/bucket_ranges.cc",
DBUILD.gn156 "base/metrics/bucket_ranges.cc",

12