Home
last modified time | relevance | path

Searched refs:SnapshotSamples (Results 1 – 17 of 17) sorted by relevance

/external/libchrome/base/metrics/
Dsparse_histogram_unittest.cc95 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST_P()
100 std::unique_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); in TEST_P()
106 std::unique_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST_P()
114 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST_P()
119 std::unique_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); in TEST_P()
125 std::unique_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST_P()
133 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST_P()
138 std::unique_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); in TEST_P()
144 std::unique_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST_P()
155 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST_P()
[all …]
Dhistogram_base_unittest.cc167 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in TEST_F()
182 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in TEST_F()
209 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in TEST_F()
225 samples = histogram->SnapshotSamples(); in TEST_F()
254 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in TEST_F()
270 samples = histogram->SnapshotSamples(); in TEST_F()
Dpersistent_histogram_allocator_unittest.cc283 std::unique_ptr<HistogramSamples> snapshot = found->SnapshotSamples(); in TEST_F()
284 EXPECT_EQ(found->SnapshotSamples()->TotalCount(), snapshot->TotalCount()); in TEST_F()
292 snapshot = found->SnapshotSamples(); in TEST_F()
293 EXPECT_EQ(found->SnapshotSamples()->TotalCount(), snapshot->TotalCount()); in TEST_F()
321 snapshot = found->SnapshotSamples(); in TEST_F()
322 EXPECT_EQ(found->SnapshotSamples()->TotalCount(), snapshot->TotalCount()); in TEST_F()
329 snapshot = found->SnapshotSamples(); in TEST_F()
330 EXPECT_EQ(found->SnapshotSamples()->TotalCount(), snapshot->TotalCount()); in TEST_F()
Dhistogram_delta_serialization_unittest.cc38 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST()
48 std::unique_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST()
Dhistogram_unittest.cc165 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in TEST_P()
385 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in TEST_P()
393 std::unique_ptr<HistogramSamples> samples2 = histogram->SnapshotSamples(); in TEST_P()
408 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in TEST_P()
416 std::unique_ptr<HistogramSamples> samples2 = histogram->SnapshotSamples(); in TEST_P()
549 std::unique_ptr<HistogramSamples> snapshot = histogram->SnapshotSamples(); in TEST_P()
Ddummy_histogram.h36 std::unique_ptr<HistogramSamples> SnapshotSamples() const override;
Ddummy_histogram.cc90 std::unique_ptr<HistogramSamples> DummyHistogram::SnapshotSamples() const { in SnapshotSamples() function in base::DummyHistogram
Dsparse_histogram.cc123 std::unique_ptr<HistogramSamples> SparseHistogram::SnapshotSamples() const { in SnapshotSamples() function in base::SparseHistogram
233 std::unique_ptr<HistogramSamples> snapshot = SnapshotSamples(); in WriteAsciiImpl()
Dsparse_histogram.h54 std::unique_ptr<HistogramSamples> SnapshotSamples() const override;
Dhistogram_base.h219 virtual std::unique_ptr<HistogramSamples> SnapshotSamples() const = 0;
Dstatistics_recorder_unittest.cc695 std::unique_ptr<HistogramSamples> snapshot = found->SnapshotSamples(); in TEST_P()
703 snapshot = found->SnapshotSamples(); in TEST_P()
Dhistogram.h215 std::unique_ptr<HistogramSamples> SnapshotSamples() const override;
Dpersistent_memory_allocator_unittest.cc217 allocator_->used_histogram_->SnapshotSamples()); in TEST_F()
Dhistogram.cc509 std::unique_ptr<HistogramSamples> Histogram::SnapshotSamples() const { in SnapshotSamples() function in base::Histogram
/external/libchrome/base/test/metrics/
Dhistogram_tester.cc26 histogram->SnapshotSamples(); in HistogramTester()
41 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in ExpectUniqueSample()
56 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in ExpectBucketCount()
65 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in ExpectTotalCount()
103 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in GetBucketCount()
159 histogram->SnapshotSamples(); in GetHistogramSamplesSinceCreation()
171 histogram->SnapshotSamples(); in GetAllHistogramsRecorded()
179 auto current_count = histogram->SnapshotSamples()->TotalCount(); in GetAllHistogramsRecorded()
/external/libchrome/base/task_scheduler/
Dscheduler_worker_pool_impl_unittest.cc618 EXPECT_EQ(0, histogram->SnapshotSamples()->GetCount(0)); in TEST_F()
619 EXPECT_EQ(1, histogram->SnapshotSamples()->GetCount(3)); in TEST_F()
620 EXPECT_EQ(0, histogram->SnapshotSamples()->GetCount(10)); in TEST_F()
637 EXPECT_EQ(0, histogram->SnapshotSamples()->GetCount(0)); in TEST_F()
638 EXPECT_EQ(0, histogram->SnapshotSamples()->GetCount(1)); in TEST_F()
639 EXPECT_EQ(0, histogram->SnapshotSamples()->GetCount(10)); in TEST_F()
648 EXPECT_EQ(0, histogram->SnapshotSamples()->GetCount(0)); in TEST_F()
650 histogram->SnapshotSamples()->GetCount(1)); in TEST_F()
651 EXPECT_EQ(0, histogram->SnapshotSamples()->GetCount(10)); in TEST_F()
655 EXPECT_EQ(0, histogram->SnapshotSamples()->GetCount(0)); in TEST_F()
[all …]
/external/libchrome/base/android/
Drecord_histogram.cc324 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in JNI_RecordHistogram_GetHistogramValueCountForTesting()
339 return histogram->SnapshotSamples()->TotalCount(); in JNI_RecordHistogram_GetHistogramTotalCountForTesting()