Lines Matching refs:Histogram

84   const Histogram& casted_histogram =  in ValidateRangeChecksum()
85 static_cast<const Histogram&>(histogram); in ValidateRangeChecksum()
96 const uint32_t Histogram::kBucketCount_MAX = 16384u;
98 class Histogram::Factory {
129 Histogram::InitializeBucketRanges(minimum_, maximum_, ranges); in CreateRanges()
137 new Histogram(GetPermanentName(name_), minimum_, maximum_, ranges)); in HeapAlloc()
159 HistogramBase* Histogram::Factory::Build() { in Build()
249 HistogramBase* Histogram::FactoryGet(const std::string& name, in FactoryGet()
261 HistogramBase* Histogram::FactoryTimeGet(const std::string& name, in FactoryTimeGet()
271 HistogramBase* Histogram::FactoryMicrosecondsTimeGet(const std::string& name, in FactoryMicrosecondsTimeGet()
281 HistogramBase* Histogram::FactoryGet(const char* name, in FactoryGet()
289 HistogramBase* Histogram::FactoryTimeGet(const char* name, in FactoryTimeGet()
298 HistogramBase* Histogram::FactoryMicrosecondsTimeGet(const char* name, in FactoryMicrosecondsTimeGet()
307 std::unique_ptr<HistogramBase> Histogram::PersistentCreate( in PersistentCreate()
316 return WrapUnique(new Histogram(name, minimum, maximum, ranges, counts, in PersistentCreate()
330 void Histogram::InitializeBucketRanges(Sample minimum, in InitializeBucketRanges()
360 const int Histogram::kCommonRaceBasedCountMismatch = 5;
362 uint32_t Histogram::FindCorruption(const HistogramSamples& samples) const { in FindCorruption()
392 const BucketRanges* Histogram::bucket_ranges() const { in bucket_ranges()
396 Sample Histogram::declared_min() const { in declared_min()
403 Sample Histogram::declared_max() const { in declared_max()
410 Sample Histogram::ranges(uint32_t i) const { in ranges()
414 uint32_t Histogram::bucket_count() const { in bucket_count()
419 bool Histogram::InspectConstructionArguments(StringPiece name, in InspectConstructionArguments()
472 uint64_t Histogram::name_hash() const { in name_hash()
476 HistogramType Histogram::GetHistogramType() const { in GetHistogramType()
480 bool Histogram::HasConstructionArguments(Sample expected_minimum, in HasConstructionArguments()
488 void Histogram::Add(int value) { in Add()
492 void Histogram::AddCount(int value, int count) { in AddCount()
509 std::unique_ptr<HistogramSamples> Histogram::SnapshotSamples() const { in SnapshotSamples()
513 std::unique_ptr<HistogramSamples> Histogram::SnapshotDelta() { in SnapshotDelta()
537 std::unique_ptr<HistogramSamples> Histogram::SnapshotFinalDelta() const { in SnapshotFinalDelta()
546 void Histogram::AddSamples(const HistogramSamples& samples) { in AddSamples()
550 bool Histogram::AddSamplesFromPickle(PickleIterator* iter) { in AddSamplesFromPickle()
555 void Histogram::WriteHTMLGraph(std::string* output) const { in WriteHTMLGraph()
562 void Histogram::WriteAscii(std::string* output) const { in WriteAscii()
566 void Histogram::ValidateHistogramContents() const { in ValidateHistogramContents()
574 void Histogram::SerializeInfoImpl(Pickle* pickle) const { in SerializeInfoImpl()
585 Histogram::Histogram(const char* name, in Histogram() function in base::Histogram
595 Histogram::Histogram(const char* name, in Histogram() function in base::Histogram
611 Histogram::~Histogram() = default;
613 bool Histogram::PrintEmptyBucket(uint32_t index) const { in PrintEmptyBucket()
622 double Histogram::GetBucketSize(Count current, uint32_t i) const { in GetBucketSize()
631 const std::string Histogram::GetAsciiBucketRange(uint32_t i) const { in GetAsciiBucketRange()
639 HistogramBase* Histogram::DeserializeInfoImpl(PickleIterator* iter) { in DeserializeInfoImpl()
653 HistogramBase* histogram = Histogram::FactoryGet( in DeserializeInfoImpl()
665 std::unique_ptr<SampleVector> Histogram::SnapshotAllSamples() const { in SnapshotAllSamples()
671 std::unique_ptr<SampleVector> Histogram::SnapshotUnloggedSamples() const { in SnapshotUnloggedSamples()
678 void Histogram::WriteAsciiImpl(bool graph_it, in WriteAsciiImpl()
745 double Histogram::GetPeakBucketSize(const SampleVectorBase& samples) const { in GetPeakBucketSize()
755 void Histogram::WriteAsciiHeader(const SampleVectorBase& samples, in WriteAsciiHeader()
770 void Histogram::WriteAsciiBucketContext(const int64_t past, in WriteAsciiBucketContext()
783 void Histogram::GetParameters(DictionaryValue* params) const { in GetParameters()
790 void Histogram::GetCountAndBucketData(Count* count, in GetCountAndBucketData()
816 class LinearHistogram::Factory : public Histogram::Factory {
824 : Histogram::Factory(name, LINEAR_HISTOGRAM, minimum, maximum, in Factory()
844 Histogram::Factory::FillHistogram(base_histogram); in FillHistogram()
924 bool valid_arguments = Histogram::InspectConstructionArguments( in FactoryGetWithRangeDescription()
940 : Histogram(name, minimum, maximum, ranges) {} in LinearHistogram()
951 : Histogram(name, in LinearHistogram()
972 return Histogram::GetAsciiBucketRange(i); in GetAsciiBucketRange()
1092 class BooleanHistogram::Factory : public Histogram::Factory {
1095 : Histogram::Factory(name, BOOLEAN_HISTOGRAM, 1, 2, 3, flags) {} in Factory()
1186 class CustomHistogram::Factory : public Histogram::Factory {
1191 : Histogram::Factory(name, CUSTOM_HISTOGRAM, 0, 0, 0, flags) { in Factory()
1270 : Histogram(name, in CustomHistogram()
1282 : Histogram(name, in CustomHistogram()
1292 Histogram::SerializeInfoImpl(pickle); in SerializeInfoImpl()