Home
last modified time | relevance | path

Searched refs:PGOMethodInfo (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
H A Dpgo_profiler_info.cpp123 void PGOMethodInfo::ProcessToText(std::string &text) const in ProcessToText()
134 void PGOMethodInfo::ProcessToJson(ProfileType::VariantMap &function) const in ProcessToJson()
141 std::vector<std::string> PGOMethodInfo::ParseFromText(const std::string &infoString) in ParseFromText()
147 uint32_t PGOMethodInfo::CalcChecksum(const char *name, const uint8_t *byteCodeArray, uint32_t byteCodeLength) in CalcChecksum()
160 uint32_t PGOMethodInfo::CalcOpCodeChecksum(const uint8_t *byteCodeArray, uint32_t byteCodeLength) in CalcOpCodeChecksum()
185 size_t size = static_cast<size_t>(PGOMethodInfo::Size(strlen)); in AddMethod()
191 auto info = new (infoAddr) PGOMethodInfo(methodId, 0, mode, methodName.c_str()); in AddMethod()
194 auto checksum = PGOMethodInfo::CalcChecksum(jsMethod->GetMethodName(), jsMethod->GetBytecodeArray(), in AddMethod()
257 size_t size = static_cast<size_t>(PGOMethodInfo::Size(len)); in Merge()
259 auto newMethodInfo = new (infoAddr) PGOMethodInfo( in Merge()
[all...]
H A Dpgo_profiler_info.h111 class PGOMethodInfo { class
120 explicit PGOMethodInfo(PGOMethodId id) : id_(id) {} in PGOMethodInfo() function in panda::ecmascript::pgo::PGOMethodInfo
122 PGOMethodInfo(PGOMethodId id, uint32_t count, SampleMode mode, const char *methodName) in PGOMethodInfo() function in panda::ecmascript::pgo::PGOMethodInfo
140 return sizeof(PGOMethodInfo) + AlignUp(length, GetAlignmentInBytes(ALIGN_SIZE)); in Size()
170 void Merge(const PGOMethodInfo *info) in Merge()
240 NO_COPY_SEMANTIC(PGOMethodInfo);
241 NO_MOVE_SEMANTIC(PGOMethodInfo);
278 // PGOMethodInfo release by chunk in Clear()
302 const CMap<PGOMethodId, PGOMethodInfo *> &GetMethodInfos() const in GetMethodInfos()
313 CMap<PGOMethodId, PGOMethodInfo *> methodInfos
[all...]
H A Dpgo_profiler_decoder.h109 PGOMethodInfo::CalcChecksum(methodName, methodLiteral->GetBytecodeArray(), in GetTypeInfo()

Completed in 3 milliseconds