Home
last modified time | relevance | path

Searched refs:PGOLayoutDescInfo (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_info.h752 class PGOLayoutDescInfo {
754 PGOLayoutDescInfo() = default;
755 PGOLayoutDescInfo(const CString &key, PGOHandler handler) : handler_(handler) in PGOLayoutDescInfo() function
768 return sizeof(PGOLayoutDescInfo) + AlignUp(len, ALIGN_SIZE); in Size()
793 const PGOLayoutDescInfo *GetFirst() const in GetFirst()
798 const PGOLayoutDescInfo *GetNext(const PGOLayoutDescInfo *current) const in GetNext()
800 …return reinterpret_cast<PGOLayoutDescInfo *>(reinterpret_cast<uintptr_t>(current) + current->Size(… in GetNext()
824 PGOLayoutDescInfo descInfos_;
Dpgo_profiler_info.cpp466 size_t size = sizeof(PGOHClassLayoutDescInner) - sizeof(PGOLayoutDescInfo); in CaculateSize()
470 size += static_cast<size_t>(PGOLayoutDescInfo::Size(key.size())); in CaculateSize()
476 size += static_cast<size_t>(PGOLayoutDescInfo::Size(key.size())); in CaculateSize()
482 size += static_cast<size_t>(PGOLayoutDescInfo::Size(key.size())); in CaculateSize()
559 auto current = const_cast<PGOLayoutDescInfo *>(GetFirst()); in Merge()
564 new (current) PGOLayoutDescInfo(key, type); in Merge()
565 current = const_cast<PGOLayoutDescInfo *>(GetNext(current)); in Merge()
573 new (current) PGOLayoutDescInfo(key, type); in Merge()
574 current = const_cast<PGOLayoutDescInfo *>(GetNext(current)); in Merge()
582 new (current) PGOLayoutDescInfo(key, type); in Merge()
[all …]