Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Dhistogram_samples.cc95 subtle::NoBarrier_Load(&meta_->redundant_count); in Add()
96 subtle::NoBarrier_Store(&meta_->redundant_count, in Add()
97 old_redundant_count + other.redundant_count()); in Add()
104 HistogramBase::Count redundant_count; in AddFromPickle() local
106 if (!iter->ReadInt64(&sum) || !iter->ReadInt(&redundant_count)) in AddFromPickle()
112 subtle::NoBarrier_Load(&meta_->redundant_count); in AddFromPickle()
113 subtle::NoBarrier_Store(&meta_->redundant_count, in AddFromPickle()
114 old_redundant_count + redundant_count); in AddFromPickle()
124 subtle::NoBarrier_Load(&meta_->redundant_count); in Subtract()
125 subtle::NoBarrier_Store(&meta_->redundant_count, in Subtract()
[all …]
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()
62 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
70 EXPECT_EQ(samples2.redundant_count(), samples2.TotalCount()); in TEST()
79 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
88 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
Dhistogram_samples.h47 HistogramBase::AtomicCount redundant_count; member
49 Metadata() : id(0), sum(0), redundant_count(0) {} in Metadata()
74 HistogramBase::Count redundant_count() const { in redundant_count() function
75 return subtle::NoBarrier_Load(&meta_->redundant_count); in redundant_count()
Dsample_map_unittest.cc24 EXPECT_EQ(samples.redundant_count(), samples.TotalCount()); in TEST()
46 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
55 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
Dhistogram_snapshot_manager.cc99 logged_samples->TotalCount() - logged_samples->redundant_count(); in InspectLoggedSamplesInconsistency()
Dhistogram_unittest.cc341 EXPECT_EQ(2, snapshot->redundant_count()); in TEST_F()
Dhistogram.cc208 int64_t delta64 = samples.redundant_count() - samples.TotalCount(); in FindCorruption()