Home
last modified time | relevance | path

Searched refs:MemoryTypeStats (Results 1 – 4 of 4) sorted by relevance

/ark/runtime_core/runtime/mem/gc/
Dgc_stats.h50 enum class MemoryTypeStats : size_t { enum
58 constexpr size_t ToIndex(MemoryTypeStats type) in ToIndex()
63 constexpr size_t MEMORY_TYPE_STATS_SIZE = static_cast<size_t>(MemoryTypeStats::MEMORY_TYPE_STATS_LA…
99 void AddMemoryValue(uint64_t value, MemoryTypeStats memory_type) in AddMemoryValue()
Dgc_stats.cpp176 instance_stats->AddMemoryValue(objects_freed_bytes_, MemoryTypeStats::ALL_FREED_BYTES); in StopCollectStats()
248 bool was_moved = memory_stats_[ToIndex(MemoryTypeStats::MOVED_BYTES)].GetCount() > 0U; in GetDump()
268 … << memory_stats_[ToIndex(MemoryTypeStats::MOVED_BYTES)].GetGeneralStatistic() << "\n"; in GetDump()
285 …auto young_total_freed_bytes = memory_stats_[ToIndex(MemoryTypeStats::YOUNG_FREED_BYTES)].GetSum(); in GetYoungSpaceDump()
311 auto total_freed_bytes = memory_stats_[ToIndex(MemoryTypeStats::ALL_FREED_BYTES)].GetSum(); in GetAllSpacesDump()
Dgc.cpp635 GetStats()->AddMemoryValue(all_size_move, MemoryTypeStats::MOVED_BYTES); in MoveObjectsToPygoteSpace()
/ark/runtime_core/runtime/mem/gc/gen-gc/
Dgen-gc.cpp312 this->GetStats()->AddMemoryValue(young_move_size, MemoryTypeStats::MOVED_BYTES); in CollectYoungAndMove()
321 this->GetStats()->AddMemoryValue(young_delete_size, MemoryTypeStats::YOUNG_FREED_BYTES); in CollectYoungAndMove()