/external/compiler-rt/lib/asan/ |
D | asan_memory_profile.cc | 34 HeapProfile() : allocations_(1024) {} in HeapProfile() 39 for (uptr i = 0; i < allocations_.size(); i++) { in Insert() 40 if (allocations_[i].id == id) { in Insert() 41 allocations_[i].total_size += size; in Insert() 42 allocations_[i].count++; in Insert() 46 allocations_.push_back({id, size, 1}); in Insert() 50 InternalSort(&allocations_, allocations_.size(), in Print() 58 for (uptr i = 0; i < allocations_.size(); i++) { in Print() 59 auto &a = allocations_[i]; in Print() 72 InternalMmapVector<AllocationSite> allocations_; member in __asan::HeapProfile
|
/external/perfetto/src/profiling/memory/ |
D | bookkeeping.cc | 50 auto it = allocations_.find(address); in RecordMalloc() 51 if (it != allocations_.end()) { in RecordMalloc() 78 allocations_.emplace(address, in RecordMalloc() 113 auto leaf_it = allocations_.find(address); in CommitOperation() 114 if (leaf_it == allocations_.end()) in CommitOperation() 122 allocations_.erase(leaf_it); in CommitOperation()
|
D | bookkeeping.h | 169 for (const auto& addr_and_allocation : allocations_) { in GetAllocations() 316 std::map<uint64_t /* allocation address */, Allocation> allocations_; variable
|
/external/tensorflow/tensorflow/core/framework/ |
D | tracking_allocator.cc | 48 allocations_.emplace_back(allocated_bytes, Env::Default()->NowMicros()); in AllocateRaw() 64 allocations_.emplace_back(allocated_bytes, Env::Default()->NowMicros()); in AllocateRaw() 69 allocations_.emplace_back(num_bytes, Env::Default()->NowMicros()); in AllocateRaw() 102 allocations_.emplace_back(-allocated_bytes, Env::Default()->NowMicros()); in DeallocateRaw() 179 allocations.swap(allocations_); in GetRecordsAndUnRef() 192 for (const AllocRecord& alloc : allocations_) { in GetCurrentRecords()
|
D | tracking_allocator.h | 116 gtl::InlinedVector<AllocRecord, 4> allocations_ GUARDED_BY(mu_);
|
/external/v8/src/profiler/ |
D | sampling-heap-profiler.cc | 87 node->allocations_[size]++; in SampleObject() 99 DCHECK_GT(node->allocations_[sample->size], 0); in OnWeakCallback() 100 node->allocations_[sample->size]--; in OnWeakCallback() 101 if (node->allocations_[sample->size] == 0) { in OnWeakCallback() 102 node->allocations_.erase(sample->size); in OnWeakCallback() 103 while (node->allocations_.empty() && node->children_.empty() && in OnWeakCallback() 221 allocations.reserve(node->allocations_.size()); in TranslateAllocationNode() 238 for (auto alloc : node->allocations_) { in TranslateAllocationNode()
|
D | sampling-heap-profiler.h | 88 std::map<size_t, unsigned int> allocations_;
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | shaped_buffer_test.cc | 51 if (!allocations_.empty()) { in ~TestAllocator() 67 allocations_.insert({device_ordinal, buf}); in Allocate() 77 auto it = allocations_.find({device_ordinal, mem.opaque()}); in Deallocate() 78 if (it == allocations_.end()) { in Deallocate() 82 allocations_.erase(it); in Deallocate() 94 std::set<std::pair</*device_ordinal*/ int64, void*>> allocations_; member in xla::__anon014aaf1f0111::TestAllocator
|
D | buffer_assignment.cc | 429 CHECK_LT(index, allocations_.size()); in GetAllocation() 430 return allocations_[index]; in GetAllocation() 554 BufferAllocation::Index index = allocations_.size(); in NewEmptyAllocation() 555 allocations_.emplace_back(index, size, color); in NewEmptyAllocation() 556 BufferAllocation* allocation = &allocations_.back(); in NewEmptyAllocation() 614 std::partition(allocations_.begin(), allocations_.end(), in CombineTempAllocations() 621 if (first_temp_it != allocations_.end()) { in CombineTempAllocations() 622 for (auto it = first_temp_it; it != allocations_.end(); ++it) { in CombineTempAllocations() 664 allocations_.erase(first_temp_it, allocations_.end()); in CombineTempAllocations() 666 allocations_.push_back(combined.second); in CombineTempAllocations() [all …]
|
D | buffer_assignment.h | 358 return allocations_; in Allocations() 533 std::vector<BufferAllocation> allocations_; variable
|
/external/webrtc/webrtc/p2p/base/ |
D | turnserver.cc | 127 for (AllocationMap::iterator it = allocations_.begin(); in ~TurnServer() 128 it != allocations_.end(); ++it) { in ~TurnServer() 431 AllocationMap::const_iterator it = allocations_.find(*conn); in FindAllocation() 432 return (it != allocations_.end()) ? it->second : NULL; in FindAllocation() 448 allocations_[*conn] = allocation; in CreateAllocation() 513 AllocationMap::iterator it = allocations_.find(*(allocation->conn())); in OnAllocationDestroyed() 514 if (it != allocations_.end()) in OnAllocationDestroyed() 515 allocations_.erase(it); in OnAllocationDestroyed()
|
D | turnserver.h | 175 const AllocationMap& allocations() const { return allocations_; } in allocations() 271 AllocationMap allocations_; variable
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | step_stats_collector.cc | 191 allocations_.push_back(std::make_pair(memory, tracking_allocator)); in AddAllocation() 195 for (auto& alloc : allocations_) { in Finalize() 203 allocations_.clear(); in Finalize() 463 for (const auto& alloc : stats->allocations_) { in ReportAllocsOnResourceExhausted()
|
D | step_stats_collector.h | 133 allocations_; variable
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_node.h | 187 return allocations_; in allocations() 217 for (const auto& r : allocations_) { in ToProto() 239 allocations_.clear(); in FromProto() 259 allocations_.push_back(r); in FromProto() 286 std::vector<AllocationRecord> allocations_; variable
|
D | tfprof_node.cc | 105 allocations_.push_back(alloc); in AddMemoryStats()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor.cc | 658 std::vector<void*> allocations_; // All other memory allocated in the pool. member in google::protobuf::DescriptorPool::Tables 670 allocations_before_checkpoint(tables->allocations_.size()), in CheckPoint() 812 for (int i = 0; i < allocations_.size(); i++) { in ~Tables() 813 operator delete(allocations_[i]); in ~Tables() 891 i < allocations_.size(); i++) { in RollbackToLastCheckpoint() 892 operator delete(allocations_[i]); in RollbackToLastCheckpoint() 899 allocations_.resize(checkpoint.allocations_before_checkpoint); in RollbackToLastCheckpoint() 1234 allocations_.push_back(result); in AllocateBytes()
|