Home
last modified time | relevance | path

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

/external/cronet/base/metrics/
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()
Dsample_vector_unittest.cc48 EXPECT_EQ(100, samples.redundant_count()); in TEST_F()
49 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST_F()
55 EXPECT_EQ(0, samples.redundant_count()); in TEST_F()
56 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST_F()
75 EXPECT_EQ(100, samples.redundant_count()); in TEST_F()
76 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST_F()
82 EXPECT_EQ(0, samples.redundant_count()); in TEST_F()
83 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST_F()
101 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST_F()
109 EXPECT_EQ(samples2.redundant_count(), samples2.TotalCount()); in TEST_F()
[all …]
Dhistogram_samples.cc236 IncreaseSumAndCount(other.sum(), other.redundant_count()); in Add()
244 HistogramBase::Count redundant_count; in AddFromPickle() local
246 if (!iter->ReadInt64(&sum) || !iter->ReadInt(&redundant_count)) in AddFromPickle()
249 IncreaseSumAndCount(sum, redundant_count); in AddFromPickle()
256 IncreaseSumAndCount(-other.sum(), -other.redundant_count()); in Subtract()
289 subtle::NoBarrier_AtomicExchange(&other.meta_->redundant_count, 0); in Extract()
298 pickle->WriteInt(redundant_count()); in Serialize()
330 subtle::NoBarrier_AtomicIncrement(&meta_->redundant_count, count); in IncreaseSumAndCount()
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()
Dsparse_histogram_unittest.cc152 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
160 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
168 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
172 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
182 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
186 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
192 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
Dhistogram_samples.h124 HistogramBase::AtomicCount redundant_count{0};
185 HistogramBase::Count redundant_count() const { in redundant_count() function
186 return subtle::NoBarrier_Load(&meta_->redundant_count); in redundant_count()
Dhistogram_unittest.cc192 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
213 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
235 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
244 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
252 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
256 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
268 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
272 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
278 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
298 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
[all …]
Dhistogram.cc378 int64_t delta64 = samples.redundant_count() - samples.TotalCount(); in FindCorruption()
/external/libchrome/base/metrics/
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()
Dsample_vector_unittest.cc48 EXPECT_EQ(100, samples.redundant_count()); in TEST_F()
49 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST_F()
55 EXPECT_EQ(0, samples.redundant_count()); in TEST_F()
56 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST_F()
75 EXPECT_EQ(100, samples.redundant_count()); in TEST_F()
76 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST_F()
82 EXPECT_EQ(0, samples.redundant_count()); in TEST_F()
83 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST_F()
101 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST_F()
109 EXPECT_EQ(samples2.redundant_count(), samples2.TotalCount()); in TEST_F()
[all …]
Dhistogram_samples.cc193 IncreaseSumAndCount(other.sum(), other.redundant_count()); in Add()
201 HistogramBase::Count redundant_count; in AddFromPickle() local
203 if (!iter->ReadInt64(&sum) || !iter->ReadInt(&redundant_count)) in AddFromPickle()
206 IncreaseSumAndCount(sum, redundant_count); in AddFromPickle()
213 IncreaseSumAndCount(-other.sum(), -other.redundant_count()); in Subtract()
221 pickle->WriteInt(redundant_count()); in Serialize()
253 subtle::NoBarrier_AtomicIncrement(&meta_->redundant_count, count); in IncreaseSumAndCount()
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_samples.h116 HistogramBase::AtomicCount redundant_count; member
158 HistogramBase::Count redundant_count() const { in redundant_count() function
159 return subtle::NoBarrier_Load(&meta_->redundant_count); in redundant_count()
Dhistogram_unittest.cc184 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
213 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
222 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P()
529 EXPECT_EQ(2, snapshot->redundant_count()); in TEST_P()
Dhistogram.cc375 int64_t delta64 = samples.redundant_count() - samples.TotalCount(); in FindCorruption()