Home
last modified time | relevance | path

Searched refs:alloc_stats_ (Results 1 – 2 of 2) sorted by relevance

/art/runtime/base/
Darena_allocator.cc104 alloc_stats_(kNumArenaAllocKinds, 0u) { in ArenaAllocatorStatsImpl()
110 std::copy_n(other.alloc_stats_.begin(), kNumArenaAllocKinds, alloc_stats_.begin()); in Copy()
115 alloc_stats_[kind] += bytes; in RecordAlloc()
127 return std::accumulate(alloc_stats_.begin(), alloc_stats_.end(), init); in BytesAllocated()
156 if (alloc_stats_[i] != 0u) { in Dump()
157 os << kAllocNames[i] << std::setw(10) << alloc_stats_[i] << "\n"; in Dump()
Darena_allocator.h142 dchecked_vector<size_t> alloc_stats_; // Bytes used by various allocation kinds. variable