Searched refs:SampleVector (Results 1 – 6 of 6) sorted by relevance
/external/libchrome/base/metrics/ |
D | sample_vector.cc | 285 SampleVector::SampleVector(const BucketRanges* bucket_ranges) in SampleVector() function in base::SampleVector 286 : SampleVector(0, bucket_ranges) {} in SampleVector() 288 SampleVector::SampleVector(uint64_t id, const BucketRanges* bucket_ranges) in SampleVector() function in base::SampleVector 291 SampleVector::~SampleVector() { in ~SampleVector() 295 bool SampleVector::MountExistingCountsStorage() const { in MountExistingCountsStorage() 300 HistogramBase::AtomicCount* SampleVector::CreateCountsStorageWhileLocked() { in CreateCountsStorageWhileLocked()
|
D | sample_vector.h | 115 class BASE_EXPORT SampleVector : public SampleVectorBase { 117 explicit SampleVector(const BucketRanges* bucket_ranges); 118 SampleVector(uint64_t id, const BucketRanges* bucket_ranges); 119 ~SampleVector() override; 129 DISALLOW_COPY_AND_ASSIGN(SampleVector);
|
D | sample_vector_unittest.cc | 38 SampleVector samples(1, &ranges); in TEST_F() 65 SampleVector samples(1, &ranges); in TEST_F() 95 SampleVector samples1(1, &ranges); in TEST_F() 103 SampleVector samples2(2, &ranges); in TEST_F() 135 SampleVector samples(1, &ranges); in TEST_F() 157 SampleVector samples2(2, &ranges2); in TEST_F() 178 SampleVector samples1(1, &ranges1); in TEST_F() 187 SampleVector samples2(2, &ranges2); in TEST_F() 252 SampleVector samples(1, &ranges); in TEST_F() 280 SampleVector samples(1, &ranges); in TEST_F() [all …]
|
D | histogram.cc | 591 unlogged_samples_.reset(new SampleVector(HashMetricName(name), ranges)); in Histogram() 592 logged_samples_.reset(new SampleVector(unlogged_samples_->id(), ranges)); in Histogram() 665 std::unique_ptr<SampleVector> Histogram::SnapshotAllSamples() const { in SnapshotAllSamples() 666 std::unique_ptr<SampleVector> samples = SnapshotUnloggedSamples(); in SnapshotAllSamples() 671 std::unique_ptr<SampleVector> Histogram::SnapshotUnloggedSamples() const { in SnapshotUnloggedSamples() 672 std::unique_ptr<SampleVector> samples( in SnapshotUnloggedSamples() 673 new SampleVector(unlogged_samples_->id(), bucket_ranges())); in SnapshotUnloggedSamples() 683 std::unique_ptr<SampleVector> snapshot = SnapshotAllSamples(); in WriteAsciiImpl() 793 std::unique_ptr<SampleVector> snapshot = SnapshotAllSamples(); in GetCountAndBucketData()
|
D | histogram_unittest.cc | 98 std::unique_ptr<SampleVector> SnapshotAllSamples(Histogram* h) { in SnapshotAllSamples() 458 std::unique_ptr<SampleVector> samples = histogram->SnapshotAllSamples(); in TEST_P() 482 std::unique_ptr<SampleVector> custom_samples = in TEST_P() 506 std::unique_ptr<SampleVector> samples = histogram->SnapshotAllSamples(); in TEST_P() 526 std::unique_ptr<SampleVector> snapshot = histogram->SnapshotAllSamples(); in TEST_P() 755 std::unique_ptr<SampleVector> samples = in TEST_P()
|
D | histogram.h | 97 class SampleVector; variable 288 std::unique_ptr<SampleVector> SnapshotAllSamples() const; 291 std::unique_ptr<SampleVector> SnapshotUnloggedSamples() const;
|