Home
last modified time | relevance | path

Searched refs:GetAllocated (Results 1 - 11 of 11) sorted by relevance

/arkcompiler/runtime_core/libpandabase/tests/
H A Dbase_mem_stats_test.cpp49 ASSERT_EQ(sum, stats.GetAllocated(SpaceType::SPACE_TYPE_CODE)); in HWTEST_F()
68 ASSERT_EQ(size1 + size2, stats.GetAllocated(SpaceType::SPACE_TYPE_CODE)); in HWTEST_F()
74 ASSERT_EQ(sizeof(buff1) + sizeof(buff2), stats.GetAllocated(SpaceType::SPACE_TYPE_CODE)); in HWTEST_F()
83 ASSERT_EQ(stats.GetAllocated(SpaceType::SPACE_TYPE_CODE), 1U); in HWTEST_F()
86 ASSERT_EQ(stats.GetAllocated(SpaceType::SPACE_TYPE_INTERNAL), 2U); in HWTEST_F()
/arkcompiler/runtime_core/static_core/libpandabase/tests/
H A Dbase_mem_stats_test.cpp51 ASSERT_EQ(sum, stats.GetAllocated(SpaceType::SPACE_TYPE_CODE)); in TEST_F()
74 ASSERT_EQ(size1 + size2, stats.GetAllocated(SpaceType::SPACE_TYPE_CODE)); in TEST_F()
80 ASSERT_EQ(sizeof(buff1) + sizeof(buff2), stats.GetAllocated(SpaceType::SPACE_TYPE_CODE)); in TEST_F()
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dmem_stats_test.cpp82 : rawBytesAllocatedBeforeTest_(stats->GetAllocated(SpaceType::SPACE_TYPE_INTERNAL)), in RawStatsBeforeTest()
106 ASSERT_EQ(heapBytesAllocated, stats->GetAllocated(SpaceType::SPACE_TYPE_OBJECT)); in AssertHeapStats()
113 ASSERT_EQ(heapBytesAllocated, stats->GetAllocated(SpaceType::SPACE_TYPE_HUMONGOUS_OBJECT)); in AssertHeapHumongousStats()
146 stats->GetAllocated(SpaceType::SPACE_TYPE_INTERNAL)); in AssertRawStats()
162 size_t initHeapBytes = stats->GetAllocated(SpaceType::SPACE_TYPE_OBJECT); in TEST_F()
189 size_t initHeapBytes = stats->GetAllocated(SpaceType::SPACE_TYPE_OBJECT); in TEST_F()
214 size_t initHeapBytes = stats->GetAllocated(SpaceType::SPACE_TYPE_OBJECT); in TEST_F()
240 size_t initHeapBytes = stats->GetAllocated(SpaceType::SPACE_TYPE_OBJECT); in TEST_F()
262 size_t initHeapBytes = stats->GetAllocated(SpaceType::SPACE_TYPE_OBJECT); in TEST_F()
289 size_t initHeapBytes = stats->GetAllocated(SpaceTyp in TEST_F()
[all...]
H A Dmem_stats_gc_test.cpp107 uint64_t allocatedBytes = stats->GetAllocated(SpaceType::SPACE_TYPE_OBJECT); in MemStatsTest()
125 ASSERT_LE(allocatedBytes, stats->GetAllocated(SpaceType::SPACE_TYPE_OBJECT)); in MemStatsTest()
126 ASSERT_GE(allocatedBytes + diffTotal, stats->GetAllocated(SpaceType::SPACE_TYPE_OBJECT)); in MemStatsTest()
131 ASSERT_LE(allocatedBytes, stats->GetAllocated(SpaceType::SPACE_TYPE_OBJECT)); in MemStatsTest()
132 ASSERT_GE(allocatedBytes + diffTotal, stats->GetAllocated(SpaceType::SPACE_TYPE_OBJECT)); in MemStatsTest()
H A Dmem_stats_additional_info_test.cpp79 ASSERT_EQ(BYTES_ALLOC1 + BYTES_ALLOC2 + stringSize, stats.GetAllocated(SpaceType::SPACE_TYPE_OBJECT)); in TEST_F()
82 ASSERT_EQ(BYTES_ALLOC1 + BYTES_ALLOC2 + stringSize, stats.GetAllocated(SpaceType::SPACE_TYPE_OBJECT)); in TEST_F()
H A Dregion_allocator_test.cpp788 auto objectAllocatedSize = memStats.GetAllocated(SpaceType::SPACE_TYPE_NON_MOVABLE_OBJECT); in TEST_F()
792 auto objectAllocatedSize1 = memStats.GetAllocated(SpaceType::SPACE_TYPE_NON_MOVABLE_OBJECT); in TEST_F()
798 auto objectAllocatedSize2 = memStats.GetAllocated(SpaceType::SPACE_TYPE_NON_MOVABLE_OBJECT); in TEST_F()
/arkcompiler/runtime_core/static_core/runtime/mem/
H A Dmem_stats.cpp106 statistic << "raw memory: allocated - " << GetAllocated(SpaceType::SPACE_TYPE_INTERNAL) << ", freed - " in GetStatistics()
108 statistic << "compiler: allocated - " << GetAllocated(SpaceType::SPACE_TYPE_CODE) << std::endl; in GetStatistics()
109 statistic << "ArenaAllocator: allocated - " << GetAllocated(SpaceType::SPACE_TYPE_COMPILER) << std::endl; in GetStatistics()
/arkcompiler/runtime_core/libpandabase/mem/
H A Dbase_mem_stats.h46 [[nodiscard]] uint64_t GetAllocated(SpaceType type_mem) const;
H A Dbase_mem_stats.cpp63 uint64_t BaseMemStats::GetAllocated(SpaceType type_mem) const in GetAllocated() function in panda::BaseMemStats
/arkcompiler/runtime_core/static_core/libpandabase/mem/
H A Dbase_mem_stats.h46 [[nodiscard]] PANDA_PUBLIC_API uint64_t GetAllocated(SpaceType typeMem) const;
H A Dbase_mem_stats.cpp62 uint64_t BaseMemStats::GetAllocated(SpaceType typeMem) const in GetAllocated() function in ark::BaseMemStats

Completed in 5 milliseconds