Home
last modified time | relevance | path

Searched refs:TotalCount (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/base/metrics/
Dsample_vector_unittest.cc35 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST()
42 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST()
59 EXPECT_EQ(300, samples1.TotalCount()); in TEST()
60 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
67 EXPECT_EQ(600, samples2.TotalCount()); in TEST()
68 EXPECT_EQ(samples2.redundant_count(), samples2.TotalCount()); in TEST()
76 EXPECT_EQ(900, samples1.TotalCount()); in TEST()
77 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
85 EXPECT_EQ(300, samples1.TotalCount()); in TEST()
86 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
Dsample_map_unittest.cc22 EXPECT_EQ(100, samples.TotalCount()); in TEST()
23 EXPECT_EQ(samples.redundant_count(), samples.TotalCount()); in TEST()
44 EXPECT_EQ(900, samples1.TotalCount()); in TEST()
45 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
53 EXPECT_EQ(300, samples1.TotalCount()); in TEST()
54 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
Dsparse_histogram_unittest.cc50 EXPECT_EQ(0, snapshot->TotalCount()); in TEST_F()
55 EXPECT_EQ(1, snapshot1->TotalCount()); in TEST_F()
61 EXPECT_EQ(3, snapshot2->TotalCount()); in TEST_F()
83 EXPECT_EQ(3, samples->TotalCount()); in TEST_F()
Dhistogram_snapshot_manager.cc96 if (to_log->TotalCount() > 0) in PrepareDelta()
104 logged_samples->TotalCount() - logged_samples->redundant_count(); in InspectLoggedSamplesInconsistency()
Dsample_map.h30 virtual HistogramBase::Count TotalCount() const OVERRIDE;
Dhistogram_samples.h28 virtual HistogramBase::Count TotalCount() const = 0;
Dsample_vector.h33 virtual HistogramBase::Count TotalCount() const OVERRIDE;
Dsample_map.cc33 Count SampleMap::TotalCount() const { in TotalCount() function in base::SampleMap
Dhistogram_delta_serialization.cc87 DCHECK_NE(0, snapshot.TotalCount()); in RecordDelta()
Dsparse_histogram.cc119 Count total_count = snapshot->TotalCount(); in WriteAsciiImpl()
Dsample_vector.cc38 Count SampleVector::TotalCount() const { in TotalCount() function in base::SampleVector
Dhistogram.cc190 int64 delta64 = samples.redundant_count() - samples.TotalCount(); in FindCorruption()
380 Count sample_count = snapshot->TotalCount(); in WriteAsciiImpl()
493 *count = snapshot->TotalCount(); in GetCountAndBucketData()
Dhistogram_unittest.cc83 EXPECT_EQ(2, samples->TotalCount()); in TEST_F()
318 EXPECT_EQ(2, snapshot->TotalCount()); in TEST_F()
/external/chromium_org/components/precache/core/
Dprecache_database_unittest.cc112 EXPECT_EQ(1, delta_samples->TotalCount()); in ExpectNewSample()
119 EXPECT_EQ(0, delta_samples->TotalCount()); in ExpectNoNewSamples()
359 EXPECT_EQ(5, downloaded_precache_motivated_bytes->TotalCount()); in TEST_F()
367 EXPECT_EQ(3, downloaded_non_precache_bytes->TotalCount()); in TEST_F()
373 EXPECT_EQ(2, downloaded_non_precache_bytes_cellular->TotalCount()); in TEST_F()
379 EXPECT_EQ(2, saved_bytes->TotalCount()); in TEST_F()
385 EXPECT_EQ(1, saved_bytes_cellular->TotalCount()); in TEST_F()
/external/chromium_org/base/test/
Dhistogram_tester.cc110 int actual_count = samples.TotalCount(); in CheckTotalCount()
114 actual_count -= histogram_data->second->TotalCount(); in CheckTotalCount()
Dhistogram_tester_unittest.cc38 EXPECT_EQ(1, samples->TotalCount()); in TEST_F()
/external/chromium_org/net/spdy/
Dhpack_huffman_aggregator_test.cc162 EXPECT_EQ(112, samples->TotalCount()); in TEST_F()
180 EXPECT_EQ(149, samples->TotalCount()); in TEST_F()
/external/chromium_org/components/translate/core/browser/
Dtranslate_browser_metrics_unittest.cc88 HistogramBase::Count count = samples_->TotalCount(); in GetTotalCount()
91 return count - base_samples_->TotalCount(); in GetTotalCount()
/external/chromium_org/components/translate/core/common/
Dtranslate_metrics_unittest.cc145 HistogramBase::Count count = samples_->TotalCount(); in GetTotalCount()
148 return count - base_samples_->TotalCount(); in GetTotalCount()
/external/chromium_org/dbus/
Dsignal_sender_verification_unittest.cc215 EXPECT_EQ(samples1->TotalCount() + 1, samples2->TotalCount()); in TEST_F()
/external/chromium_org/chrome/browser/ui/webui/ntp/
Dntp_user_data_logger_unittest.cc26 return histogram ? histogram->SnapshotSamples()->TotalCount() : 0; in GetTotalCount()
/external/chromium_org/chrome/browser/extensions/api/metrics_private/
Dmetrics_apitest.cc152 base::HistogramBase::Count sample_count = snapshot->TotalCount(); in ValidateHistograms()
/external/chromium_org/chrome/browser/extensions/activity_log/
Duma_policy_browsertest.cc88 EXPECT_EQ(3, google_samples->TotalCount()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/components/precache/content/
Dprecache_manager_unittest.cc45 return histogram ? histogram->SnapshotSamples()->TotalCount() : 0; in GetHistogramTotalCount()
/external/chromium_org/net/dns/
Ddns_session.cc278 base::HistogramBase::Count total = samples.TotalCount(); in NextTimeoutFromHistogram()

12