Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_memory_profile.cpp33 HeapProfile() { allocations_.reserve(1024); } in HeapProfile()
51 Sort(allocations_.data(), allocations_.size(), in Print()
65 for (uptr i = 0; i < Min(allocations_.size(), max_number_of_contexts); in Print()
67 auto &a = allocations_[i]; in Print()
83 InternalMmapVector<AllocationSite> allocations_; member in __asan::HeapProfile
87 for (uptr i = 0; i < allocations_.size(); i++) { in Insert()
88 if (allocations_[i].id == id) { in Insert()
89 allocations_[i].total_size += size; in Insert()
90 allocations_[i].count++; in Insert()
94 allocations_.push_back({id, size, 1}); in Insert()