Home | History | Annotate | Download | only in metrics

Lines Matching refs:counts_

666     : counts_(),
675 counts_.resize(histogram.bucket_count(), 0);
679 DCHECK_EQ(histogram.bucket_count(), counts_.size());
686 counts_[index] += count;
689 DCHECK_GE(counts_[index], 0);
696 for (Counts::const_iterator it = counts_.begin();
697 it != counts_.end();
705 DCHECK_EQ(counts_.size(), other.counts_.size());
708 for (size_t index = 0; index < counts_.size(); ++index)
709 counts_[index] += other.counts_[index];
713 DCHECK_EQ(counts_.size(), other.counts_.size());
719 for (size_t index = 0; index < counts_.size(); ++index) {
720 counts_[index] -= other.counts_[index];
721 DCHECK_GE(counts_[index], 0);
728 pickle->WriteSize(counts_.size());
730 for (size_t index = 0; index < counts_.size(); ++index) {
731 pickle->WriteInt(counts_[index]);
738 DCHECK_EQ(counts_.size(), 0u);
758 counts_.push_back(i);