Home | History | Annotate | Download | only in socket_stream

Lines Matching refs:histogram

9 #include "base/metrics/histogram.h"
16 using base::Histogram;
28 HistogramBase* histogram =
30 if (histogram) {
31 original = histogram->SnapshotSamples();
41 histogram =
43 ASSERT_TRUE(histogram != NULL);
44 EXPECT_EQ(HistogramBase::kUmaTargetedHistogramFlag, histogram->flags());
46 scoped_ptr<HistogramSamples> samples(histogram->SnapshotSamples());
59 HistogramBase* histogram =
61 if (histogram) {
62 original = histogram->SnapshotSamples();
76 histogram =
78 ASSERT_TRUE(histogram != NULL);
79 EXPECT_EQ(HistogramBase::kUmaTargetedHistogramFlag, histogram->flags());
81 scoped_ptr<HistogramSamples> samples(histogram->SnapshotSamples());
94 HistogramBase* histogram =
96 if (histogram) {
97 original = histogram->SnapshotSamples();
107 histogram =
109 ASSERT_TRUE(histogram != NULL);
110 EXPECT_EQ(HistogramBase::kUmaTargetedHistogramFlag, histogram->flags());
112 scoped_ptr<HistogramSamples> samples(histogram->SnapshotSamples());
129 HistogramBase* histogram =
131 if (histogram) {
132 original = histogram->SnapshotSamples();
135 histogram =
137 if (histogram) {
138 original = histogram->SnapshotSamples();
141 histogram =
143 if (histogram) {
144 original = histogram->SnapshotSamples();
147 histogram =
149 if (histogram) {
150 original = histogram->SnapshotSamples();
168 histogram =
170 ASSERT_TRUE(histogram != NULL);
171 EXPECT_EQ(HistogramBase::kUmaTargetedHistogramFlag, histogram->flags());
172 // We don't check the contents of the histogram as it's time sensitive.
175 histogram =
177 ASSERT_TRUE(histogram != NULL);
178 EXPECT_EQ(HistogramBase::kUmaTargetedHistogramFlag, histogram->flags());
179 // We don't check the contents of the histogram as it's time sensitive.
182 histogram =
184 ASSERT_TRUE(histogram != NULL);
185 EXPECT_EQ(HistogramBase::kUmaTargetedHistogramFlag, histogram->flags());
186 // We don't check the contents of the histogram as it's time sensitive.
189 histogram =
191 ASSERT_TRUE(histogram != NULL);
192 EXPECT_EQ(HistogramBase::kUmaTargetedHistogramFlag, histogram->flags());
193 samples = histogram->SnapshotSamples();
197 histogram =
199 ASSERT_TRUE(histogram != NULL);
200 EXPECT_EQ(HistogramBase::kUmaTargetedHistogramFlag, histogram->flags());
201 samples = histogram->SnapshotSamples();
205 histogram =
207 ASSERT_TRUE(histogram != NULL);
208 EXPECT_EQ(HistogramBase::kUmaTargetedHistogramFlag, histogram->flags());
209 samples = histogram->SnapshotSamples();
213 histogram =
215 ASSERT_TRUE(histogram != NULL);
216 EXPECT_EQ(HistogramBase::kUmaTargetedHistogramFlag, histogram->flags());
217 samples = histogram->SnapshotSamples();