Searched refs:num_elem_ (Results 1 – 2 of 2) sorted by relevance
84 if (num_elem_ > 0) { in Average()85 return static_cast<double>(sum_elem_) / num_elem_; in Average()92 uint64 NumElem() const { return num_elem_; } in NumElem()102 uint64 num_elem_ = 0; variable
339 num_elem_++; in Add()347 num_elem_ += src.num_elem_; in Merge()358 snprintf(buf, sizeof(buf), "Count: %lld, Average: ", num_elem_); in ToString()366 const double mult = num_elem_ > 0 ? 100.0 / num_elem_ : 0.0; in ToString()396 (static_cast<double>(40 * buckets_[i] + (num_elem_ >> 1)) / num_elem_)); in ToString()