/external/cronet/base/metrics/ |
D | persistent_sample_map_unittest.cc | 45 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()
|
D | sample_vector_unittest.cc | 48 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 …]
|
D | histogram_samples.cc | 236 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()
|
D | sample_map_unittest.cc | 26 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()
|
D | sparse_histogram_unittest.cc | 152 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()
|
D | histogram_samples.h | 124 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()
|
D | histogram_unittest.cc | 192 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 …]
|
D | histogram.cc | 378 int64_t delta64 = samples.redundant_count() - samples.TotalCount(); in FindCorruption()
|
/external/libchrome/base/metrics/ |
D | persistent_sample_map_unittest.cc | 45 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()
|
D | sample_vector_unittest.cc | 48 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 …]
|
D | histogram_samples.cc | 193 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()
|
D | sample_map_unittest.cc | 26 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()
|
D | histogram_samples.h | 116 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()
|
D | histogram_unittest.cc | 184 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()
|
D | histogram.cc | 375 int64_t delta64 = samples.redundant_count() - samples.TotalCount(); in FindCorruption()
|