Lines Matching defs:SparseHistogram
22 HistogramBase* SparseHistogram::FactoryGet(const std::string& name,
28 HistogramBase* tentative_histogram = new SparseHistogram(name);
37 SparseHistogram::~SparseHistogram() {}
39 uint64_t SparseHistogram::name_hash() const {
43 HistogramType SparseHistogram::GetHistogramType() const {
47 bool SparseHistogram::HasConstructionArguments(
51 // SparseHistogram never has min/max/bucket_count limit.
55 void SparseHistogram::Add(Sample value) {
59 void SparseHistogram::AddCount(Sample value, int count) {
72 scoped_ptr<HistogramSamples> SparseHistogram::SnapshotSamples() const {
80 void SparseHistogram::AddSamples(const HistogramSamples& samples) {
85 bool SparseHistogram::AddSamplesFromPickle(PickleIterator* iter) {
90 void SparseHistogram::WriteHTMLGraph(std::string* output) const {
96 void SparseHistogram::WriteAscii(std::string* output) const {
100 bool SparseHistogram::SerializeInfoImpl(Pickle* pickle) const {
104 SparseHistogram::SparseHistogram(const std::string& name)
108 HistogramBase* SparseHistogram::DeserializeInfoImpl(PickleIterator* iter) {
119 return SparseHistogram::FactoryGet(histogram_name, flags);
122 void SparseHistogram::GetParameters(DictionaryValue* /* params */) const {
126 void SparseHistogram::GetCountAndBucketData(Count* /* count */,
132 void SparseHistogram::WriteAsciiImpl(bool graph_it,
185 void SparseHistogram::WriteAsciiHeader(const Count total_count,