Home
last modified time | relevance | path

Searched refs:GetAllocatedSize (Results 1 - 25 of 28) sorted by relevance

12

/arkcompiler/runtime_core/compiler/optimizer/
H A Dpass_manager_statistics.cpp65 << 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 Dpass_manager.cpp143 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 Dpass_manager.h88 auto local_mem_size_before = GetLocalAllocator()->GetAllocatedSize(); in RunPass()
/arkcompiler/runtime_core/static_core/compiler/optimizer/
H A Dpass_manager_statistics.cpp67 << 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 Dpass_manager.cpp188 ASSERT(graph_->GetLocalAllocator()->GetAllocatedSize() >= localMemSizeBeforePass); in RunPass()
189 stats_->ProcessAfterRun(graph_->GetLocalAllocator()->GetAllocatedSize() - localMemSizeBeforePass); in RunPass()
H A Dpass_manager.h97 auto localMemSizeBefore = GetLocalAllocator()->GetAllocatedSize(); in RunPass()
/arkcompiler/ets_runtime/ecmascript/regexp/tests/
H A Ddyn_chunk_test.cpp61 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 Ddyn_buffer_test.cpp61 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 Darena_allocator.cpp122 size_t cur_size = GetAllocatedSize(); in Resize()
168 size_t ArenaAllocatorT<use_oom_handler>::GetAllocatedSize() const in GetAllocatedSize() function in panda::ArenaAllocatorT
H A Darena_allocator.h111 size_t GetAllocatedSize() const;
219 : old_size_(arena_allocator->GetAllocatedSize()), allocator_(arena_allocator) in ArenaResizeWrapper()
/arkcompiler/runtime_core/static_core/libpandabase/mem/
H A Darena_allocator.cpp117 size_t curSize = GetAllocatedSize(); in Resize()
163 size_t ArenaAllocatorT<USE_OOM_HANDLER>::GetAllocatedSize() const in GetAllocatedSize() function in ark::ArenaAllocatorT
H A Dstack_like_allocator.h51 size_t GetAllocatedSize() const in GetAllocatedSize() function in ark::mem::StackLikeAllocator
H A Darena_allocator.h109 PANDA_PUBLIC_API size_t GetAllocatedSize() const;
217 : oldSize_(arenaAllocator->GetAllocatedSize()), allocator_(arenaAllocator) in ArenaResizeWrapper()
/arkcompiler/runtime_core/static_core/libpandabase/tests/
H A Darena_allocator_test.cpp568 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 Dframe_allocator.h69 size_t GetAllocatedSize() const in GetAllocatedSize() function in ark::mem::FrameAllocator
/arkcompiler/ets_runtime/ecmascript/mem/
H A Ddyn_chunk.h78 inline size_t GetAllocatedSize() const in GetAllocatedSize() function in panda::ecmascript::DynChunk
H A Dallocator.h125 size_t GetAllocatedSize() const in GetAllocatedSize() function in panda::ecmascript::FreeListAllocator
H A Djit_fort.cpp190 << allocator_->GetAllocatedSize()
H A Dsparse_space.cpp342 return allocator_->GetAllocatedSize(); in GetTotalAllocatedSize()
/arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/mem/
H A Ddyn_chunk.h97 inline size_t GetAllocatedSize() const in GetAllocatedSize() function in ark::DynChunk
/arkcompiler/runtime_core/static_core/compiler/tools/paoc/
H A Dpaoc.cpp69 *stats << allocator.GetAllocatedSize() << sep; in DumpStatistics()
70 *stats << graphLocalAllocator.GetAllocatedSize() << '\n'; in DumpStatistics()
/arkcompiler/runtime_core/static_core/libllvmbackend/tests/
H A Dinst_generator_test.cpp85 ASSERT(graphCreator_.GetAllocator()->GetAllocatedSize() == 0); in GenerateIntrinsic()
/arkcompiler/runtime_core/libpandabase/tests/
H A Darena_allocator_test.cpp545 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 Dinst_generator_test.cpp62 ASSERT(graphCreator_.GetAllocator()->GetAllocatedSize() == 0U);
91 ASSERT(graphCreator_.GetAllocator()->GetAllocatedSize() == 0U); in GenerateIntrinsics()
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/
H A Dshared_space.cpp371 return allocator_->GetAllocatedSize(); in GetTotalAllocatedSize()

Completed in 14 milliseconds

12