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 | 37 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 …]
|
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 | histogram_samples.h | 59 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()
|
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_unittest.cc | 165 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()
|
D | histogram_snapshot_manager.cc | 100 logged_samples->TotalCount() - logged_samples->redundant_count(); in InspectLoggedSamplesInconsistency()
|
D | histogram.cc | 344 int64_t delta64 = samples.redundant_count() - samples.TotalCount(); in FindCorruption()
|