Home
last modified time | relevance | path

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

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