Home
last modified time | relevance | path

Searched refs:buckets_ (Results 1 – 3 of 3) sorted by relevance

/art/compiler/optimizing/
Dgvn.cc43 buckets_(allocator->AllocArray<Node*>(num_buckets_, kArenaAllocGvn)), in ValueSet()
47 std::fill_n(buckets_, num_buckets_, nullptr); in ValueSet()
56 buckets_(allocator->AllocArray<Node*>(num_buckets_, kArenaAllocGvn)), in ValueSet()
92 buckets_[index] = new (allocator_) Node(instruction, hash_code, buckets_[index]); in Add()
102 for (Node* node = buckets_[index]; node != nullptr; node = node->GetNext()) { in Lookup()
118 for (Node* node = buckets_[index]; node != nullptr; node = node->GetNext()) { in Contains()
136 buckets_[i] = nullptr; in Clear()
169 memcpy(buckets_, other.buckets_, num_buckets_ * sizeof(Node*)); in PopulateFromInternal()
173 std::fill_n(buckets_, num_buckets_, nullptr); in PopulateFromInternal()
175 for (Node* node = other.buckets_[i]; node != nullptr; node = node->GetNext()) { in PopulateFromInternal()
[all …]
/art/libartbase/base/metrics/
Dmetrics_test.h70 explicit HistogramBackend(std::vector<uint32_t>* buckets) : buckets_{buckets} {} in GetBuckets()
73 *buckets_ = buckets; in GetBuckets()
76 std::vector<uint32_t>* buckets_; in GetBuckets() member
Dmetrics.h448 constexpr MetricsHistogram() : buckets_{} { in MetricsHistogram()
458 buckets_[i].fetch_add(1u, std::memory_order_relaxed); in Add()
469 for (auto& bucket : buckets_) { in Reset()
493 return std::vector<value_t>{buckets_.begin(), buckets_.end()}; in GetBuckets()
501 std::array<std::atomic<value_t>, num_buckets_> buckets_; variable