Home
last modified time | relevance | path

Searched refs:StatisticsRecorder (Results 1 – 25 of 63) sorted by relevance

123

/external/chromium_org/base/metrics/
Dstatistics_recorder_unittest.cc29 statistics_recorder_ = new StatisticsRecorder(); in InitializeStatisticsRecorder()
44 StatisticsRecorder::RegisterOrDeleteDuplicateRanges(ranges); in CreateHistogram()
52 StatisticsRecorder* statistics_recorder_;
58 ASSERT_FALSE(StatisticsRecorder::IsActive()); in TEST_F()
60 StatisticsRecorder::Histograms registered_histograms; in TEST_F()
63 StatisticsRecorder::GetHistograms(&registered_histograms); in TEST_F()
70 StatisticsRecorder::RegisterOrDeleteDuplicate(histogram)); in TEST_F()
78 StatisticsRecorder::RegisterOrDeleteDuplicateRanges(ranges)); in TEST_F()
79 StatisticsRecorder::GetBucketRanges(&registered_ranges); in TEST_F()
93 StatisticsRecorder::RegisterOrDeleteDuplicateRanges(ranges1)); in TEST_F()
[all …]
Dstatistics_recorder.cc22 base::LazyInstance<base::StatisticsRecorder>::Leaky g_statistics_recorder_ =
29 void StatisticsRecorder::Initialize() { in Initialize()
36 bool StatisticsRecorder::IsActive() { in IsActive()
44 HistogramBase* StatisticsRecorder::RegisterOrDeleteDuplicate( in RegisterOrDeleteDuplicate()
84 const BucketRanges* StatisticsRecorder::RegisterOrDeleteDuplicateRanges( in RegisterOrDeleteDuplicateRanges()
132 void StatisticsRecorder::WriteHTMLGraph(const std::string& query, in WriteHTMLGraph()
148 void StatisticsRecorder::WriteGraph(const std::string& query, in WriteGraph()
168 std::string StatisticsRecorder::ToJSON(const std::string& query) { in ToJSON()
198 void StatisticsRecorder::GetHistograms(Histograms* output) { in GetHistograms()
214 void StatisticsRecorder::GetBucketRanges( in GetBucketRanges()
[all …]
Dsparse_histogram_unittest.cc32 statistics_recorder_ = new StatisticsRecorder(); in InitializeStatisticsRecorder()
44 StatisticsRecorder* statistics_recorder_;
71 StatisticsRecorder::Histograms histograms; in TEST_F()
72 StatisticsRecorder::GetHistograms(&histograms); in TEST_F()
90 StatisticsRecorder::Histograms histograms; in TEST_F()
91 StatisticsRecorder::GetHistograms(&histograms); in TEST_F()
109 StatisticsRecorder::Histograms histograms; in TEST_F()
110 StatisticsRecorder::GetHistograms(&histograms); in TEST_F()
Dstatistics_recorder.h29 class BASE_EXPORT StatisticsRecorder {
87 friend struct DefaultLazyInstanceTraits<StatisticsRecorder>;
98 StatisticsRecorder();
99 ~StatisticsRecorder();
109 DISALLOW_COPY_AND_ASSIGN(StatisticsRecorder);
Dhistogram_snapshot_manager.cc30 StatisticsRecorder::Histograms histograms; in PrepareDeltas()
31 StatisticsRecorder::GetHistograms(&histograms); in PrepareDeltas()
32 for (StatisticsRecorder::Histograms::const_iterator it = histograms.begin(); in PrepareDeltas()
Dhistogram.cc96 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); in FactoryGet()
102 StatisticsRecorder::RegisterOrDeleteDuplicateRanges(ranges); in FactoryGet()
109 StatisticsRecorder::RegisterOrDeleteDuplicate(tentative_histogram); in FactoryGet()
545 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); in FactoryGetWithRangeDescription()
551 StatisticsRecorder::RegisterOrDeleteDuplicateRanges(ranges); in FactoryGetWithRangeDescription()
566 StatisticsRecorder::RegisterOrDeleteDuplicate(tentative_histogram); in FactoryGetWithRangeDescription()
649 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); in FactoryGet()
655 StatisticsRecorder::RegisterOrDeleteDuplicateRanges(ranges); in FactoryGet()
662 StatisticsRecorder::RegisterOrDeleteDuplicate(tentative_histogram); in FactoryGet()
708 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); in FactoryGet()
[all …]
Dhistogram_base_unittest.cc31 statistics_recorder_ = new StatisticsRecorder(); in ResetStatisticsRecorder()
35 StatisticsRecorder* statistics_recorder_;
/external/chromium/net/socket_stream/
Dsocket_stream_metrics_unittest.cc13 using base::StatisticsRecorder;
18 if (!StatisticsRecorder::IsActive()) { in TEST()
22 static StatisticsRecorder *recorder = NULL; in TEST()
23 recorder = new StatisticsRecorder; in TEST()
34 if (StatisticsRecorder::FindHistogram( in TEST()
46 ASSERT_TRUE(StatisticsRecorder::FindHistogram( in TEST()
64 if (StatisticsRecorder::FindHistogram( in TEST()
79 ASSERT_TRUE(StatisticsRecorder::FindHistogram( in TEST()
103 if (StatisticsRecorder::FindHistogram( in TEST()
108 if (StatisticsRecorder::FindHistogram( in TEST()
[all …]
/external/chromium_org/net/socket_stream/
Dsocket_stream_metrics_unittest.cc19 using base::StatisticsRecorder;
29 StatisticsRecorder::FindHistogram("Net.SocketStream.ProtocolType"); in TEST()
42 StatisticsRecorder::FindHistogram("Net.SocketStream.ProtocolType"); in TEST()
60 StatisticsRecorder::FindHistogram("Net.SocketStream.ConnectionType"); in TEST()
77 StatisticsRecorder::FindHistogram("Net.SocketStream.ConnectionType"); in TEST()
95 StatisticsRecorder::FindHistogram("Net.SocketStream.WireProtocolType"); in TEST()
108 StatisticsRecorder::FindHistogram("Net.SocketStream.WireProtocolType"); in TEST()
130 StatisticsRecorder::FindHistogram("Net.SocketStream.ReceivedBytes"); in TEST()
136 StatisticsRecorder::FindHistogram("Net.SocketStream.ReceivedCounts"); in TEST()
142 StatisticsRecorder::FindHistogram("Net.SocketStream.SentBytes"); in TEST()
[all …]
/external/chromium_org/chrome/browser/spellchecker/
Dspellcheck_host_metrics_unittest.cc23 using base::StatisticsRecorder;
31 base::StatisticsRecorder::Initialize(); in SetUp()
46 StatisticsRecorder::FindHistogram("SpellCheck.Enabled"); in TEST_F()
53 StatisticsRecorder::FindHistogram("SpellCheck.Enabled"); in TEST_F()
66 StatisticsRecorder::FindHistogram("SpellCheck.Enabled"); in TEST_F()
84 EXPECT_TRUE(StatisticsRecorder::IsActive()); in TEST_F()
87 StatisticsRecorder::FindHistogram("SpellCheck.CustomWords"); in TEST_F()
93 StatisticsRecorder::FindHistogram("SpellCheck.CustomWords"); in TEST_F()
120 StatisticsRecorder::FindHistogram(histogramName[i]); in TEST_F()
132 StatisticsRecorder::FindHistogram(histogramName[i]); in TEST_F()
[all …]
/external/chromium/base/metrics/
Dhistogram_unittest.cc69 StatisticsRecorder recorder; in TEST()
75 StatisticsRecorder recorder; // This initializes the global state. in TEST()
77 StatisticsRecorder::Histograms histograms; in TEST()
79 StatisticsRecorder::GetHistograms(&histograms); // Load up lists in TEST()
87 StatisticsRecorder::GetHistograms(&histograms); // Load up lists in TEST()
93 StatisticsRecorder::GetHistograms(&histograms); // Load up lists in TEST()
100 StatisticsRecorder::GetHistograms(&histograms); // Load up lists in TEST()
107 StatisticsRecorder::GetHistograms(&histograms); // Load up lists in TEST()
124 StatisticsRecorder::GetHistograms(&histograms); // Load up lists in TEST()
131 StatisticsRecorder::GetHistograms(&histograms); // Load up lists in TEST()
[all …]
Dhistogram.cc89 if (!StatisticsRecorder::FindHistogram(name, &histogram)) { in FactoryGet()
99 StatisticsRecorder::RegisterOrDeleteDuplicate(tentative_histogram); in FactoryGet()
417 if (StatisticsRecorder::dump_on_exit()) { in ~Histogram()
785 if (!StatisticsRecorder::FindHistogram(name, &histogram)) { in FactoryGet()
792 StatisticsRecorder::RegisterOrDeleteDuplicate(tentative_histogram); in FactoryGet()
877 if (!StatisticsRecorder::FindHistogram(name, &histogram)) { in FactoryGet()
883 StatisticsRecorder::RegisterOrDeleteDuplicate(tentative_histogram); in FactoryGet()
924 if (!StatisticsRecorder::FindHistogram(name, &histogram)) { in FactoryGet()
930 StatisticsRecorder::RegisterOrDeleteDuplicate(tentative_histogram); in FactoryGet()
973 StatisticsRecorder::StatisticsRecorder() { in StatisticsRecorder() function in base::StatisticsRecorder
[all …]
/external/chromium_org/chrome/browser/
Dchrome_browser_application_mac_unittest.mm17 using base::StatisticsRecorder;
51 // TODO(rtenneti): Leaks StatisticsRecorder and will update suppressions.
52 base::StatisticsRecorder::Initialize();
54 StatisticsRecorder::Histograms histograms;
55 StatisticsRecorder::GetSnapshot("OSX.NSException", &histograms);
77 StatisticsRecorder::GetSnapshot("OSX.NSException", &histograms);
/external/chromium_org/net/disk_cache/
Dstats_histogram.cc21 using base::StatisticsRecorder;
47 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); in FactoryGet()
55 StatisticsRecorder::RegisterOrDeleteDuplicateRanges(ranges); in FactoryGet()
61 histogram = StatisticsRecorder::RegisterOrDeleteDuplicate(stats_histogram); in FactoryGet()
/external/chromium/chrome/browser/
Dchrome_browser_application_mac_unittest.mm12 using base::StatisticsRecorder;
44 StatisticsRecorder recorder;
46 StatisticsRecorder::Histograms histograms;
47 StatisticsRecorder::GetSnapshot("OSX.NSException", &histograms);
69 StatisticsRecorder::GetSnapshot("OSX.NSException", &histograms);
/external/chromium_org/chrome/browser/search/
Dmost_visited_iframe_source_unittest.cc31 base::StatisticsRecorder::Initialize(); in TEST_F()
36 base::HistogramBase* histogram = base::StatisticsRecorder::FindHistogram( in TEST_F()
72 base::StatisticsRecorder::Initialize(); in TEST_F()
80 base::HistogramBase* histogram = base::StatisticsRecorder::FindHistogram( in TEST_F()
/external/chromium/net/disk_cache/
Dstats_histogram.cc13 using base::StatisticsRecorder;
32 if (StatisticsRecorder::FindHistogram(name, &histogram)) { in StatsHistogramFactoryGet()
40 histogram = StatisticsRecorder::RegisterOrDeleteDuplicate(stats_histogram); in StatsHistogramFactoryGet()
/external/chromium_org/chrome/browser/translate/
Dtranslate_browser_metrics_unittest.cc17 using base::StatisticsRecorder;
24 StatisticsRecorder::Initialize(); in MetricsRecorder()
26 HistogramBase* histogram = StatisticsRecorder::FindHistogram(key_); in MetricsRecorder()
85 HistogramBase* histogram = StatisticsRecorder::FindHistogram(key_); in Snapshot()
/external/chromium_org/chrome/browser/ui/cocoa/browser/
Dpassword_generation_bubble_controller_unittest.mm19 using base::StatisticsRecorder;
29 StatisticsRecorder::Initialize();
38 StatisticsRecorder::FindHistogram(kHistogramName);
70 StatisticsRecorder::FindHistogram(kHistogramName);
/external/chromium_org/chrome/test/base/
Duma_histogram_helper.cc36 base::StatisticsRecorder::FindHistogram(name); in ExpectUniqueSample()
51 base::StatisticsRecorder::FindHistogram(name); in ExpectTotalCount()
/external/chromium_org/components/translate/common/
Dtranslate_metrics_unittest.cc18 using base::StatisticsRecorder;
29 StatisticsRecorder::Initialize(); in MetricsRecorder()
31 HistogramBase* histogram = StatisticsRecorder::FindHistogram(key_); in MetricsRecorder()
125 HistogramBase* histogram = StatisticsRecorder::FindHistogram(key_); in Snapshot()
/external/chromium_org/chrome/browser/prerender/
Dprerender_util_unittest.cc83 base::StatisticsRecorder::Initialize(); in TEST_F()
105 base::StatisticsRecorder::FindHistogram( in TEST_F()
108 ASSERT_TRUE(NULL == base::StatisticsRecorder::FindHistogram( in TEST_F()
122 base::StatisticsRecorder::FindHistogram( in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/metrics_private/
Dmetrics_apitest.cc102 base::StatisticsRecorder::Histograms histograms; in ValidateHistograms()
103 base::StatisticsRecorder::GetHistograms(&histograms); in ValidateHistograms()
/external/chromium/chrome/browser/extensions/
Dextension_metrics_apitest.cc113 base::StatisticsRecorder::Histograms histograms; in ValidateHistograms()
114 base::StatisticsRecorder::GetHistograms(&histograms); in ValidateHistograms()
/external/chromium/net/base/
Drun_all_unittests.cc17 base::StatisticsRecorder recorder; in main()

123