Home | History | Annotate | Download | only in metrics

Lines Matching refs:Factory

98 class Histogram::Factory {
100 Factory(const std::string& name,
105 : Factory(name, HISTOGRAM, minimum, maximum, bucket_count, flags) {}
106 virtual ~Factory() = default;
113 Factory(const std::string& name,
156 DISALLOW_COPY_AND_ASSIGN(Factory);
159 HistogramBase* Histogram::Factory::Build() {
258 return Factory(name, minimum, maximum, bucket_count, flags).Build();
816 class LinearHistogram::Factory : public Histogram::Factory {
818 Factory(const std::string& name,
824 : Histogram::Factory(name, LINEAR_HISTOGRAM, minimum, maximum,
828 ~Factory() override = default;
844 Histogram::Factory::FillHistogram(base_histogram);
863 DISALLOW_COPY_AND_ASSIGN(Factory);
928 return Factory(name, minimum, maximum, bucket_count, flags, descriptions)
1092 class BooleanHistogram::Factory : public Histogram::Factory {
1094 Factory(const std::string& name, int32_t flags)
1095 : Histogram::Factory(name, BOOLEAN_HISTOGRAM, 1, 2, 3, flags) {}
1096 ~Factory() override = default;
1111 DISALLOW_COPY_AND_ASSIGN(Factory);
1116 return Factory(name, flags).Build();
1186 class CustomHistogram::Factory : public Histogram::Factory {
1188 Factory(const std::string& name,
1191 : Histogram::Factory(name, CUSTOM_HISTOGRAM, 0, 0, 0, flags) {
1194 ~Factory() override = default;
1221 DISALLOW_COPY_AND_ASSIGN(Factory);
1230 return Factory(name, &custom_ranges, flags).Build();