Searched refs:redundant_count (Results 1 – 8 of 8) sorted by relevance
/external/libchrome/base/metrics/ |
D | histogram_samples.cc | 87 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()
|
D | sample_vector_unittest.cc | 36 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 …]
|
D | persistent_sample_map_unittest.cc | 44 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()
|
D | histogram_samples.h | 56 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()
|
D | sample_map_unittest.cc | 25 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()
|
D | histogram_unittest.cc | 164 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()
|
D | histogram_snapshot_manager.cc | 96 logged_samples->TotalCount() - logged_samples->redundant_count(); in InspectLoggedSamplesInconsistency()
|
D | histogram.cc | 344 int64_t delta64 = samples.redundant_count() - samples.TotalCount(); in FindCorruption()
|