Lines Matching refs:HistogramBase
60 INT_MAX / sizeof(HistogramBase::Count) <= *bucket_count || in ReadHistogramArguments()
68 *flags &= ~HistogramBase::kIPCSerializationSourceFlag; in ReadHistogramArguments()
73 bool ValidateRangeChecksum(const HistogramBase& histogram, in ValidateRangeChecksum()
83 typedef HistogramBase::Count Count;
84 typedef HistogramBase::Sample Sample;
92 HistogramBase::Sample minimum, in Factory()
93 HistogramBase::Sample maximum, in Factory()
101 HistogramBase* Build();
106 HistogramBase::Sample minimum, in Factory()
107 HistogramBase::Sample maximum, in Factory()
126 virtual std::unique_ptr<HistogramBase> HeapAlloc(const BucketRanges* ranges) { in HeapAlloc()
133 virtual void FillHistogram(HistogramBase* /*histogram*/) {} in FillHistogram() argument
140 HistogramBase::Sample minimum_;
141 HistogramBase::Sample maximum_;
149 HistogramBase* Histogram::Factory::Build() { in Build()
150 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name_); in Build()
174 std::unique_ptr<HistogramBase> tentative_histogram; in Build()
192 flags_ &= ~HistogramBase::kIsPersistent; in Build()
235 HistogramBase* Histogram::FactoryGet(const std::string& name, in FactoryGet()
247 HistogramBase* Histogram::FactoryTimeGet(const std::string& name, in FactoryTimeGet()
257 HistogramBase* Histogram::FactoryGet(const char* name, in FactoryGet()
265 HistogramBase* Histogram::FactoryTimeGet(const char* name, in FactoryTimeGet()
274 std::unique_ptr<HistogramBase> Histogram::PersistentCreate( in PersistentCreate()
279 HistogramBase::AtomicCount* counts, in PersistentCreate()
280 HistogramBase::AtomicCount* logged_counts, in PersistentCreate()
324 ranges->set_range(ranges->bucket_count(), HistogramBase::kSampleType_MAX); in InitializeBucketRanges()
504 : HistogramBase(name), in Histogram()
516 HistogramBase::AtomicCount* counts, in Histogram()
517 HistogramBase::AtomicCount* logged_counts, in Histogram()
521 : HistogramBase(name), in Histogram()
562 HistogramBase* Histogram::DeserializeInfoImpl(PickleIterator* iter) { in DeserializeInfoImpl()
576 HistogramBase* histogram = Histogram::FactoryGet( in DeserializeInfoImpl()
737 HistogramBase::Sample minimum, in Factory()
738 HistogramBase::Sample maximum, in Factory()
755 std::unique_ptr<HistogramBase> HeapAlloc( in HeapAlloc()
761 void FillHistogram(HistogramBase* base_histogram) override { in FillHistogram()
781 HistogramBase* LinearHistogram::FactoryGet(const std::string& name, in FactoryGet()
790 HistogramBase* LinearHistogram::FactoryTimeGet(const std::string& name, in FactoryTimeGet()
800 HistogramBase* LinearHistogram::FactoryGet(const char* name, in FactoryGet()
808 HistogramBase* LinearHistogram::FactoryTimeGet(const char* name, in FactoryTimeGet()
817 std::unique_ptr<HistogramBase> LinearHistogram::PersistentCreate( in PersistentCreate()
822 HistogramBase::AtomicCount* counts, in PersistentCreate()
823 HistogramBase::AtomicCount* logged_counts, in PersistentCreate()
832 HistogramBase* LinearHistogram::FactoryGetWithRangeDescription( in FactoryGetWithRangeDescription()
862 HistogramBase::AtomicCount* counts, in LinearHistogram()
863 HistogramBase::AtomicCount* logged_counts, in LinearHistogram()
904 ranges->set_range(ranges->bucket_count(), HistogramBase::kSampleType_MAX); in InitializeBucketRanges()
909 HistogramBase* LinearHistogram::DeserializeInfoImpl(PickleIterator* iter) { in DeserializeInfoImpl()
922 HistogramBase* histogram = LinearHistogram::FactoryGet( in DeserializeInfoImpl()
948 std::unique_ptr<HistogramBase> HeapAlloc( in HeapAlloc()
957 HistogramBase* BooleanHistogram::FactoryGet(const std::string& name, in FactoryGet()
962 HistogramBase* BooleanHistogram::FactoryGet(const char* name, int32_t flags) { in FactoryGet()
966 std::unique_ptr<HistogramBase> BooleanHistogram::PersistentCreate( in PersistentCreate()
969 HistogramBase::AtomicCount* counts, in PersistentCreate()
970 HistogramBase::AtomicCount* logged_counts, in PersistentCreate()
987 HistogramBase::AtomicCount* counts, in BooleanHistogram()
988 HistogramBase::AtomicCount* logged_counts, in BooleanHistogram()
994 HistogramBase* BooleanHistogram::DeserializeInfoImpl(PickleIterator* iter) { in DeserializeInfoImpl()
1007 HistogramBase* histogram = BooleanHistogram::FactoryGet( in DeserializeInfoImpl()
1035 ranges.push_back(HistogramBase::kSampleType_MAX); in CreateRanges()
1047 std::unique_ptr<HistogramBase> HeapAlloc( in HeapAlloc()
1058 HistogramBase* CustomHistogram::FactoryGet( in FactoryGet()
1067 HistogramBase* CustomHistogram::FactoryGet( in FactoryGet()
1074 std::unique_ptr<HistogramBase> CustomHistogram::PersistentCreate( in PersistentCreate()
1077 HistogramBase::AtomicCount* counts, in PersistentCreate()
1078 HistogramBase::AtomicCount* logged_counts, in PersistentCreate()
1114 HistogramBase::AtomicCount* counts, in CustomHistogram()
1115 HistogramBase::AtomicCount* logged_counts, in CustomHistogram()
1147 HistogramBase* CustomHistogram::DeserializeInfoImpl(PickleIterator* iter) { in DeserializeInfoImpl()
1168 HistogramBase* histogram = CustomHistogram::FactoryGet( in DeserializeInfoImpl()
1183 if (sample < 0 || sample > HistogramBase::kSampleType_MAX - 1) in ValidateCustomRanges()