/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/libchrome/base/trace_event/ |
D | heap_profiler_allocation_register.cc | 21 index_ = register_.allocations_.Next(index_ + 1); in operator ++() 79 : allocations_(allocation_capacity), backtraces_(backtrace_capacity) { in AllocationRegister() 110 auto index_and_flag = allocations_.Insert(address, info); in Insert() 114 auto& old_info = allocations_.Get(index_and_flag.first).second; in Insert() 124 auto index = allocations_.Find(address); in Remove() 129 const AllocationInfo& info = allocations_.Get(index).second; in Remove() 131 allocations_.Remove(index); in Remove() 136 auto index = allocations_.Find(address); in Get() 148 return ConstIterator(*this, allocations_.Next(0)); in begin() 159 allocations_.EstimateUsedMemory() + in EstimateTraceMemoryOverhead() [all …]
|
D | heap_profiler_allocation_register.h | 368 AllocationMap 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 | 118 gtl::InlinedVector<AllocRecord, 4> allocations_ GUARDED_BY(mu_);
|
/external/v8/src/profiler/ |
D | sampling-heap-profiler.cc | 111 node->allocations_[size]++; in SampleObject() 122 DCHECK(node->allocations_[sample->size] > 0); in OnWeakCallback() 123 node->allocations_[sample->size]--; in OnWeakCallback() 124 if (node->allocations_[sample->size] == 0) { in OnWeakCallback() 125 node->allocations_.erase(sample->size); in OnWeakCallback() 126 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 | 109 std::map<size_t, unsigned int> allocations_; variable
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | buffer_assignment.cc | 203 CHECK_LT(index, allocations_.size()); in GetAllocation() 204 return allocations_[index]; in GetAllocation() 317 BufferAllocation::Index index = allocations_.size(); in NewEmptyAllocation() 318 allocations_.emplace_back(index, size, is_thread_local, is_reusable, color); in NewEmptyAllocation() 319 BufferAllocation* allocation = &allocations_.back(); in NewEmptyAllocation() 357 std::partition(allocations_.begin(), allocations_.end(), in CombineTempAllocations() 364 if (first_temp_it != allocations_.end()) { in CombineTempAllocations() 365 for (auto it = first_temp_it; it != allocations_.end(); ++it) { in CombineTempAllocations() 393 allocations_.erase(first_temp_it, allocations_.end()); in CombineTempAllocations() 395 allocations_.push_back(combined.second); in CombineTempAllocations() [all …]
|
D | buffer_assignment.h | 272 return allocations_; in Allocations() 425 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 | 56 allocations_.push_back(std::make_pair(memory, tracking_allocator)); in AddAllocation() 60 for (auto& alloc : allocations_) { in Finalize() 68 allocations_.clear(); in Finalize() 300 for (const auto& alloc : stats->allocations_) { in ReportAllocsOnResourceExhausted()
|
D | step_stats_collector.h | 61 allocations_; variable
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_node.h | 188 return allocations_; in allocations() 218 for (const auto& r : allocations_) { in ToProto() 240 allocations_.clear(); in FromProto() 260 allocations_.push_back(r); in FromProto() 287 std::vector<AllocationRecord> allocations_; variable
|
D | tfprof_node.cc | 105 allocations_.push_back(alloc); in AddMemoryStats()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor.cc | 518 vector<void*> allocations_; // All other memory allocated in the pool. member in google::protobuf::DescriptorPool::Tables 529 allocations_before_checkpoint(tables->allocations_.size()), in CheckPoint() 656 for (int i = 0; i < allocations_.size(); i++) { in ~Tables() 657 operator delete(allocations_[i]); in ~Tables() 753 i < allocations_.size(); in RollbackToLastCheckpoint() 755 operator delete(allocations_[i]); in RollbackToLastCheckpoint() 761 allocations_.resize(checkpoint.allocations_before_checkpoint); in RollbackToLastCheckpoint() 1018 allocations_.push_back(result); in AllocateBytes()
|