Searched refs:alloc_id (Results 1 – 9 of 9) sorted by relevance
/external/perfetto/tools/ |
D | multithreaded_alloc.cc | 63 uint64_t ScrambleAllocId(uint64_t alloc_id, uint32_t thread_idx) { in ScrambleAllocId() argument 64 return thread_idx | (~alloc_id << 24); in ScrambleAllocId() 69 uint64_t alloc_id = 0; in Thread() local 73 ScrambleAllocId(alloc_id, thread_idx), 1); in Thread() 74 if (alloc_id > pending_allocs) in Thread() 76 g_heap_id, ScrambleAllocId(alloc_id - pending_allocs, thread_idx)); in Thread() 77 alloc_id++; in Thread()
|
/external/perfetto/src/profiling/memory/include/perfetto/ |
D | heap_profile.h | 152 uint64_t alloc_id, 169 uint64_t alloc_id, 181 void AHeapProfile_reportFree(uint32_t heap_id, uint64_t alloc_id);
|
/external/tensorflow/tensorflow/core/graph/ |
D | costmodel.cc | 329 for (int64 alloc_id : memory_stats.persistent_tensor_alloc_ids()) { in RecordMemoryStats() local 330 if (alloc_id > 0) { in RecordMemoryStats() 331 persistent_alloc_ids_.insert(alloc_id); in RecordMemoryStats() 352 int64 alloc_id) { in RecordAllocationId() argument 356 output_port_alloc_ids_[id][output_slot] = alloc_id; in RecordAllocationId() 368 bool CostModel::IsPersistentTensor(const Node* node, int64 alloc_id) const { in IsPersistentTensor() 369 if (persistent_alloc_ids_.count(alloc_id) > 0) { in IsPersistentTensor() 377 .count(alloc_id); in IsPersistentTensor() 514 int64 alloc_id = AllocationId(n, i); in AddToCostGraphDef() local 518 if (input_alloc_id == alloc_id) { in AddToCostGraphDef() [all …]
|
D | costmodel.h | 159 void RecordAllocationId(const Node* node, int output_slot, int64 alloc_id); 164 bool IsPersistentTensor(const Node* node, int64 alloc_id) const;
|
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/ |
D | RenderScriptRuntime.h | 388 bool LoadAllocation(Stream &strm, const uint32_t alloc_id, 391 bool SaveAllocation(Stream &strm, const uint32_t alloc_id, 530 AllocationDetails *FindAllocByID(Stream &strm, const uint32_t alloc_id);
|
D | RenderScriptRuntime.cpp | 2409 bool RenderScriptRuntime::LoadAllocation(Stream &strm, const uint32_t alloc_id, in LoadAllocation() argument 2415 AllocationDetails *alloc = FindAllocByID(strm, alloc_id); in LoadAllocation() 2629 bool RenderScriptRuntime::SaveAllocation(Stream &strm, const uint32_t alloc_id, in SaveAllocation() argument 2635 AllocationDetails *alloc = FindAllocByID(strm, alloc_id); in SaveAllocation() 3150 RenderScriptRuntime::FindAllocByID(Stream &strm, const uint32_t alloc_id) { in FindAllocByID() argument 3154 if (alloc_id <= m_allocations.size() && alloc_id != 0 && in FindAllocByID() 3155 m_allocations[alloc_id - 1]->id == alloc_id) { in FindAllocByID() 3156 alloc = m_allocations[alloc_id - 1].get(); in FindAllocByID() 3162 if (a->id == alloc_id) { in FindAllocByID() 3170 alloc_id); in FindAllocByID()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | step_stats_collector.cc | 155 for (const auto& alloc_id : ctx->persistent_alloc_ids()) { in SetMemory() local 156 ms->mutable_persistent_tensor_alloc_ids()->Add(alloc_id); in SetMemory()
|
/external/tensorflow/tensorflow/core/framework/ |
D | op_kernel.cc | 848 int64 alloc_id = a->AllocationId(t->tensor_data().data()); in allocate_persistent() local 849 record_persistent_memory_allocation(alloc_size, alloc_id); in allocate_persistent() 1062 int64 alloc_id) { in record_persistent_memory_allocation() argument 1066 if (alloc_id >= 0) { in record_persistent_memory_allocation() 1067 tracking_state_->persistent_alloc_ids.push_back(alloc_id); in record_persistent_memory_allocation()
|
D | op_kernel.h | 1229 void record_persistent_memory_allocation(int64 size, int64 alloc_id = -1)
|