Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_memory_profile.cpp32 HeapProfile() { allocations_.reserve(1024); } in HeapProfile()
50 Sort(allocations_.data(), allocations_.size(), in Print()
64 for (uptr i = 0; i < Min(allocations_.size(), max_number_of_contexts); in Print()
66 auto &a = allocations_[i]; in Print()
82 InternalMmapVector<AllocationSite> allocations_; member in __asan::HeapProfile
86 for (uptr i = 0; i < allocations_.size(); i++) { in Insert()
87 if (allocations_[i].id == id) { in Insert()
88 allocations_[i].total_size += size; in Insert()
89 allocations_[i].count++; in Insert()
93 allocations_.push_back({id, size, 1}); in Insert()