Home
last modified time | relevance | path

Searched refs:num_buckets_ (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/gamesdk/src/tuningfork/
Dhistogram.cpp32 num_buckets_(num_buckets_between + 2), in Histogram()
33 buckets_(num_buckets_), auto_range_(start_ms_ == 0 && end_ms_ == 0), count_(0) { in Histogram()
36 samples_.reserve(num_buckets_); in Histogram()
55 else if (i + 1 >= num_buckets_) in Add()
56 buckets_[num_buckets_ - 1]++; in Add()
81 bucket_dt_ms_ = (end_ms_ - start_ms_) / (num_buckets_ - 2); in CalcBucketsFromSamples()
84 Sample w = bucket_dt_ms_ * (num_buckets_ - 2); in CalcBucketsFromSamples()
103 for (int i = 0; i < num_buckets_ - 1; ++i) { in ToJSON()
108 for (int i = 0; i < num_buckets_ - 1; ++i) { in ToJSON()
111 if (num_buckets_ > 0) in ToJSON()
Dhistogram.h32 uint32_t num_buckets_; variable
Dclearcutserializer.cpp31 for (int i = 0; i < h->num_buckets_; ++i) in writeCountArray()
37 for (int i = 0; i < h->num_buckets_; ++i) { in writeCountArray()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dmap.h725 num_buckets_ = index_of_first_non_null_ = n; in InnerMap()
731 Dealloc<void*>(table_, num_buckets_); in ~InnerMap()
809 GOOGLE_DCHECK(m_->index_of_first_non_null_ == m_->num_buckets_ || in SearchFrom()
812 for (bucket_index_ = start_bucket; bucket_index_ < m_->num_buckets_; in SearchFrom()
869 bucket_index_ &= (m_->num_buckets_ - 1); in revalidate_if_necessary()
909 for (size_type b = 0; b < num_buckets_; b++) { in clear()
936 index_of_first_non_null_ = num_buckets_; in clear()
1018 while (index_of_first_non_null_ < num_buckets_ && in erase()
1055 GOOGLE_DCHECK(index_of_first_non_null_ == num_buckets_ || in InsertUnique()
1115 const size_type hi_cutoff = num_buckets_ * kMaxMapLoadTimes16 / 16; in ResizeIfLoadIsOutOfRange()
[all …]