/arkcompiler/runtime_core/compiler/optimizer/ |
H A D | pass_manager_statistics.cpp | 65 << std::right << std::setw(OFFSET_DEFAULT) << graph_->GetAllocator()->GetAllocatedSize() in PrintStatistics() 66 << std::setw(OFFSET_DEFAULT) << graph_->GetLocalAllocator()->GetAllocatedSize() in PrintStatistics() 75 size_t allocated_size = graph_->GetAllocator()->GetAllocatedSize(); in ProcessBeforeRun() 86 ASSERT(graph_->GetLocalAllocator()->GetAllocatedSize() >= last_allocated_local_); in ProcessBeforeRun() 87 top_pass->mem_used_local += graph_->GetLocalAllocator()->GetAllocatedSize() - last_allocated_local_; in ProcessBeforeRun() 108 // Call `GetAllocator()->GetAllocatedSize()` again to exclude allocations caused by PassManagerStatistics itself: in ProcessBeforeRun() 109 last_allocated_ir_ = graph_->GetAllocator()->GetAllocatedSize(); in ProcessBeforeRun() 110 last_allocated_local_ = graph_->GetLocalAllocator()->GetAllocatedSize(); in ProcessBeforeRun() 119 ASSERT(graph_->GetAllocator()->GetAllocatedSize() >= last_allocated_ir_); in ProcessAfterRun() 120 top_pass->mem_used_ir += graph_->GetAllocator()->GetAllocatedSize() in ProcessAfterRun() [all...] |
H A D | pass_manager.cpp | 143 ASSERT(graph_->GetLocalAllocator()->GetAllocatedSize() >= local_mem_size_before_pass); in RunPass() 144 stats_->ProcessAfterRun(graph_->GetLocalAllocator()->GetAllocatedSize() - local_mem_size_before_pass); in RunPass()
|
H A D | pass_manager.h | 88 auto local_mem_size_before = GetLocalAllocator()->GetAllocatedSize(); in RunPass()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ |
H A D | pass_manager_statistics.cpp | 67 << std::right << std::setw(OFFSET_DEFAULT) << graph_->GetAllocator()->GetAllocatedSize() in PrintStatistics() 68 << std::setw(OFFSET_DEFAULT) << graph_->GetLocalAllocator()->GetAllocatedSize() in PrintStatistics() 77 size_t allocatedSize = graph_->GetAllocator()->GetAllocatedSize(); in ProcessBeforeRun() 87 ASSERT(graph_->GetLocalAllocator()->GetAllocatedSize() >= lastAllocatedLocal_); in ProcessBeforeRun() 88 topPass->memUsedLocal += graph_->GetLocalAllocator()->GetAllocatedSize() - lastAllocatedLocal_; in ProcessBeforeRun() 109 // Call `GetAllocator()->GetAllocatedSize()` again to exclude allocations caused by PassManagerStatistics itself: in ProcessBeforeRun() 110 lastAllocatedIr_ = graph_->GetAllocator()->GetAllocatedSize(); in ProcessBeforeRun() 111 lastAllocatedLocal_ = graph_->GetLocalAllocator()->GetAllocatedSize(); in ProcessBeforeRun() 120 ASSERT(graph_->GetAllocator()->GetAllocatedSize() >= lastAllocatedIr_); in ProcessAfterRun() 121 topPass->memUsedIr += graph_->GetAllocator()->GetAllocatedSize() in ProcessAfterRun() [all...] |
H A D | pass_manager.cpp | 188 ASSERT(graph_->GetLocalAllocator()->GetAllocatedSize() >= localMemSizeBeforePass); in RunPass() 189 stats_->ProcessAfterRun(graph_->GetLocalAllocator()->GetAllocatedSize() - localMemSizeBeforePass); in RunPass()
|
H A D | pass_manager.h | 97 auto localMemSizeBefore = GetLocalAllocator()->GetAllocatedSize(); in RunPass()
|
/arkcompiler/ets_runtime/ecmascript/regexp/tests/ |
H A D | dyn_chunk_test.cpp | 61 ASSERT_EQ(dynChunk.GetAllocatedSize(), DynChunk::ALLOCATE_MIN_SIZE); in HWTEST_F_L0() 78 ASSERT_EQ(dynChunk.GetAllocatedSize(), DynChunk::ALLOCATE_MIN_SIZE); in HWTEST_F_L0() 91 ASSERT_EQ(dynChunk.GetAllocatedSize(), DynChunk::ALLOCATE_MIN_SIZE); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/static_core/runtime/tests/ |
H A D | dyn_buffer_test.cpp | 61 ASSERT_EQ(dynChunk.GetAllocatedSize(), DynChunk::ALLOCATE_MIN_SIZE); in TEST_F() 79 ASSERT_EQ(dynChunk.GetAllocatedSize(), DynChunk::ALLOCATE_MIN_SIZE); in TEST_F() 92 ASSERT_EQ(dynChunk.GetAllocatedSize(), DynChunk::ALLOCATE_MIN_SIZE); in TEST_F()
|
/arkcompiler/runtime_core/libpandabase/mem/ |
H A D | arena_allocator.cpp | 122 size_t cur_size = GetAllocatedSize(); in Resize() 168 size_t ArenaAllocatorT<use_oom_handler>::GetAllocatedSize() const in GetAllocatedSize() function in panda::ArenaAllocatorT
|
H A D | arena_allocator.h | 111 size_t GetAllocatedSize() const; 219 : old_size_(arena_allocator->GetAllocatedSize()), allocator_(arena_allocator) in ArenaResizeWrapper()
|
/arkcompiler/runtime_core/static_core/libpandabase/mem/ |
H A D | arena_allocator.cpp | 117 size_t curSize = GetAllocatedSize(); in Resize() 163 size_t ArenaAllocatorT<USE_OOM_HANDLER>::GetAllocatedSize() const in GetAllocatedSize() function in ark::ArenaAllocatorT
|
H A D | stack_like_allocator.h | 51 size_t GetAllocatedSize() const in GetAllocatedSize() function in ark::mem::StackLikeAllocator
|
H A D | arena_allocator.h | 109 PANDA_PUBLIC_API size_t GetAllocatedSize() const; 217 : oldSize_(arenaAllocator->GetAllocatedSize()), allocator_(arenaAllocator) in ArenaResizeWrapper()
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
H A D | arena_allocator_test.cpp | 568 size_t initSize = aa.GetAllocatedSize(); in TEST_F() 572 EXPECT_DEATH(aa.Resize(aa.GetAllocatedSize() + 1U), ""); in TEST_F() 574 ASSERT_EQ(aa.GetAllocatedSize(), initSize); in TEST_F() 583 size_t oldSize = aa.GetAllocatedSize(); in TEST_F() 591 ASSERT_EQ(oldSize, aa.GetAllocatedSize()); in TEST_F()
|
/arkcompiler/runtime_core/static_core/runtime/mem/ |
H A D | frame_allocator.h | 69 size_t GetAllocatedSize() const in GetAllocatedSize() function in ark::mem::FrameAllocator
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | dyn_chunk.h | 78 inline size_t GetAllocatedSize() const in GetAllocatedSize() function in panda::ecmascript::DynChunk
|
H A D | allocator.h | 125 size_t GetAllocatedSize() const in GetAllocatedSize() function in panda::ecmascript::FreeListAllocator
|
H A D | jit_fort.cpp | 190 << allocator_->GetAllocatedSize()
|
H A D | sparse_space.cpp | 342 return allocator_->GetAllocatedSize(); in GetTotalAllocatedSize()
|
/arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/mem/ |
H A D | dyn_chunk.h | 97 inline size_t GetAllocatedSize() const in GetAllocatedSize() function in ark::DynChunk
|
/arkcompiler/runtime_core/static_core/compiler/tools/paoc/ |
H A D | paoc.cpp | 69 *stats << allocator.GetAllocatedSize() << sep; in DumpStatistics() 70 *stats << graphLocalAllocator.GetAllocatedSize() << '\n'; in DumpStatistics()
|
/arkcompiler/runtime_core/static_core/libllvmbackend/tests/ |
H A D | inst_generator_test.cpp | 85 ASSERT(graphCreator_.GetAllocator()->GetAllocatedSize() == 0); in GenerateIntrinsic()
|
/arkcompiler/runtime_core/libpandabase/tests/ |
H A D | arena_allocator_test.cpp | 545 size_t old_size = aa.GetAllocatedSize(); in HWTEST_F() 553 ASSERT_TRUE(old_size == aa.GetAllocatedSize()); in HWTEST_F()
|
/arkcompiler/runtime_core/static_core/compiler/tests/ |
H A D | inst_generator_test.cpp | 62 ASSERT(graphCreator_.GetAllocator()->GetAllocatedSize() == 0U); 91 ASSERT(graphCreator_.GetAllocator()->GetAllocatedSize() == 0U); in GenerateIntrinsics()
|
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/ |
H A D | shared_space.cpp | 371 return allocator_->GetAllocatedSize(); in GetTotalAllocatedSize()
|