Home | History | Annotate | Download | only in metrics

Lines Matching defs:Count

71 typedef Histogram::Count Count;
153 Count sample_count = snapshot.TotalCount();
186 Count current = snapshot.counts(i);
262 INT_MAX / sizeof(Count) <= bucket_count || bucket_count < 2) {
312 int64 count = 0;
314 count += snapshot.counts(index);
324 int64 delta64 = snapshot.redundant_count() - count;
331 // we'll catch a redundant count that doesn't match the sample count. We
445 // Calculate the count'th root of the range.
496 double Histogram::GetBucketSize(Count current, size_t i) const {
519 void Histogram::Accumulate(Sample value, Count count, size_t index) {
521 sample_.Accumulate(value, count, index);
612 Count sample_count,
630 const Count current,
642 void Histogram::WriteAsciiBucketValue(Count current, double scaled_sum,
683 void Histogram::SampleSet::Accumulate(Sample value, Count count,
685 DCHECK(count == 1 || count == -1);
686 counts_[index] += count;
687 sum_ += count * value;
688 redundant_count_ += count;
694 Count Histogram::SampleSet::TotalCount() const {
695 Count total = 0;
753 int count = 0;
759 count += i;
761 DCHECK_EQ(count, redundant_count_);
762 return count == redundant_count_;
849 double LinearHistogram::GetBucketSize(Count current, size_t i) const {
961 double CustomHistogram::GetBucketSize(Count current, size_t i) const {