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.cc37 EXPECT_EQ(100, samples.redundant_count()); in TEST()
38 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST()
44 EXPECT_EQ(0, samples.redundant_count()); in TEST()
45 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST()
64 EXPECT_EQ(100, samples.redundant_count()); in TEST()
65 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST()
71 EXPECT_EQ(0, samples.redundant_count()); in TEST()
72 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST()
90 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
98 EXPECT_EQ(samples2.redundant_count(), samples2.TotalCount()); in TEST()
[all …]
Dpersistent_sample_map_unittest.cc45 EXPECT_EQ(samples.redundant_count(), samples.TotalCount()); in TEST()
62 EXPECT_EQ(samples.redundant_count(), samples.TotalCount()); in TEST()
89 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
98 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
115 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
122 EXPECT_EQ(samples1.redundant_count(), samples2.redundant_count()); in TEST()
129 EXPECT_EQ(samples2.redundant_count(), samples2.TotalCount()); in TEST()
138 EXPECT_EQ(samples1.redundant_count(), samples2.redundant_count()); in TEST()
150 EXPECT_EQ(samples1.redundant_count(), samples2.redundant_count()); in TEST()
Dhistogram_samples.h59 HistogramBase::AtomicCount redundant_count; member
74 redundant_count = 0; in LocalMetadata()
106 HistogramBase::Count redundant_count() const { in redundant_count() function
107 return subtle::NoBarrier_Load(&meta_->redundant_count); in redundant_count()
Dsample_map_unittest.cc26 EXPECT_EQ(samples.redundant_count(), samples.TotalCount()); in TEST()
40 EXPECT_EQ(samples.redundant_count(), samples.TotalCount()); in TEST()
62 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
71 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
Dhistogram_unittest.cc165 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
194 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
203 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
490 EXPECT_EQ(2, snapshot->redundant_count()); in TEST_P()
Dhistogram_snapshot_manager.cc100 logged_samples->TotalCount() - logged_samples->redundant_count(); in InspectLoggedSamplesInconsistency()
Dhistogram.cc344 int64_t delta64 = samples.redundant_count() - samples.TotalCount(); in FindCorruption()