Home | History | Annotate | Download | only in extensions

Lines Matching refs:Histogram

7 #include "base/metrics/histogram.h"
32 base::Histogram::ClassType type;
37 {"test.h.1", base::Histogram::HISTOGRAM, 1, 100, 50}, // custom
38 {"test.h.2", base::Histogram::LINEAR_HISTOGRAM, 1, 200, 50}, // custom
39 {"test.h.3", base::Histogram::LINEAR_HISTOGRAM, 1, 101, 102}, // percentage
40 {"test.time", base::Histogram::HISTOGRAM, 1, 10000, 50},
41 {"test.medium.time", base::Histogram::HISTOGRAM, 1, 180000, 50},
42 {"test.long.time", base::Histogram::HISTOGRAM, 1, 3600000, 50},
43 {"test.count", base::Histogram::HISTOGRAM, 1, 1000000, 50},
44 {"test.medium.count", base::Histogram::HISTOGRAM, 1, 10000, 50},
45 {"test.small.count", base::Histogram::HISTOGRAM, 1, 100, 50},
116 // Code other than the tests tun here will record some histogram values, but
117 // we will ignore those. This function validates that all the histogram we
126 base::Histogram* histogram(histograms[j]);
128 if (name == histogram->histogram_name()) {
129 EXPECT_EQ(r.type, histogram->histogram_type());
130 EXPECT_EQ(r.min, histogram->declared_min());
131 EXPECT_EQ(r.max, histogram->declared_max());
132 EXPECT_EQ(r.buckets, histogram->bucket_count());