Home
last modified time | relevance | path

Searched refs:redundant_count (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/base/metrics/
Dhistogram_samples.cc87 subtle::NoBarrier_AtomicIncrement(&meta_->redundant_count, in Add()
88 other.redundant_count()); in Add()
95 HistogramBase::Count redundant_count; in AddFromPickle() local
97 if (!iter->ReadInt64(&sum) || !iter->ReadInt(&redundant_count)) in AddFromPickle()
101 subtle::NoBarrier_AtomicIncrement(&meta_->redundant_count, in AddFromPickle()
102 redundant_count); in AddFromPickle()
110 subtle::NoBarrier_AtomicIncrement(&meta_->redundant_count, in Subtract()
111 -other.redundant_count()); in Subtract()
119 if (!pickle->WriteInt(redundant_count())) in Serialize()
145 subtle::NoBarrier_AtomicIncrement(&meta_->redundant_count, diff); in IncreaseRedundantCount()
Dsample_vector_unittest.cc36 EXPECT_EQ(100, samples.redundant_count()); in TEST()
37 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST()
43 EXPECT_EQ(0, samples.redundant_count()); in TEST()
44 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST()
63 EXPECT_EQ(100, samples.redundant_count()); in TEST()
64 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST()
70 EXPECT_EQ(0, samples.redundant_count()); in TEST()
71 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST()
89 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
97 EXPECT_EQ(samples2.redundant_count(), samples2.TotalCount()); in TEST()
[all …]
Dpersistent_sample_map_unittest.cc44 EXPECT_EQ(samples.redundant_count(), samples.TotalCount()); in TEST()
61 EXPECT_EQ(samples.redundant_count(), samples.TotalCount()); in TEST()
88 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
97 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
114 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
121 EXPECT_EQ(samples1.redundant_count(), samples2.redundant_count()); in TEST()
128 EXPECT_EQ(samples2.redundant_count(), samples2.TotalCount()); in TEST()
137 EXPECT_EQ(samples1.redundant_count(), samples2.redundant_count()); in TEST()
149 EXPECT_EQ(samples1.redundant_count(), samples2.redundant_count()); in TEST()
Dhistogram_samples.h56 HistogramBase::AtomicCount redundant_count; member
58 Metadata() : id(0), sum(0), redundant_count(0) {} in Metadata()
89 HistogramBase::Count redundant_count() const { in redundant_count() function
90 return subtle::NoBarrier_Load(&meta_->redundant_count); in redundant_count()
Dsample_map_unittest.cc25 EXPECT_EQ(samples.redundant_count(), samples.TotalCount()); in TEST()
39 EXPECT_EQ(samples.redundant_count(), samples.TotalCount()); in TEST()
61 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
70 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
Dhistogram_unittest.cc164 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
193 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
202 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
489 EXPECT_EQ(2, snapshot->redundant_count()); in TEST_P()
Dhistogram_snapshot_manager.cc96 logged_samples->TotalCount() - logged_samples->redundant_count(); in InspectLoggedSamplesInconsistency()
Dhistogram.cc344 int64_t delta64 = samples.redundant_count() - samples.TotalCount(); in FindCorruption()