Home
last modified time | relevance | path

Searched refs:traceId (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_tracker.cpp42 int traceId = snapshot_->AddTraceNode(sequenceId, selfSize); in AllocationEvent() local
43 if (traceId != -1) { in AllocationEvent()
44 node->SetTraceId(static_cast<uint64_t>(traceId)); in AllocationEvent()
Dheap_snapshot.h51 …ode(uint32_t id, uint32_t index, const CString *name, NodeType type, size_t size, uint32_t traceId,
58 traceId_(traceId), in id_()
126 void SetTraceId(uint32_t traceId) in SetTraceId() argument
128 traceId_ = traceId; in SetTraceId()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler.h34 … void ProfileCreateObject(JSTaggedType func, int32_t offset, JSTaggedType newObj, int32_t traceId);
42 void InsertLiteralId(JSTaggedType hclass, int32_t traceId);
Dpgo_profiler.cpp157 …filer::ProfileCreateObject(JSTaggedType func, int32_t offset, JSTaggedType newObj, int32_t traceId) in ProfileCreateObject() argument
193 InsertLiteralId(JSTaggedType(newHClass), traceId); in ProfileCreateObject()
194 auto currentType = PGOSampleType::CreateClassType(traceId); in ProfileCreateObject()
282 void PGOProfiler::InsertLiteralId(JSTaggedType hclass, int32_t traceId) in InsertLiteralId() argument
288 if (iter != traceIds_.end() && iter->second != traceId) { in InsertLiteralId()
291 traceIds_.emplace(hclass, traceId); in InsertLiteralId()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dprofiler_stub_builder.cpp131 DEFVARIABLE(traceId, VariableType::INT32(), Int32(0)); in ProfileCreateObject()
139 traceId = Load(VariableType::INT32(), newObj, traceIdOffset); in ProfileCreateObject()
141 Branch(Int32GreaterThan(*traceId, Int32(0)), &exit, &uninitialize); in ProfileCreateObject()
145 traceId = TruncPtrToInt32(PtrSub(pc, pfAddr)); in ProfileCreateObject()
146 Store(VariableType::INT32(), glue, newObj, traceIdOffset, *traceId); in ProfileCreateObject()
153 traceId = TruncPtrToInt32(PtrSub(pc, pfAddr)); in ProfileCreateObject()
162 … CallNGCRuntime(glue, RTSTUB_ID(ProfileCreateObject), { glue, func, offset, newObj, *traceId }); in ProfileCreateObject()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.h360 uintptr_t argGlue, JSTaggedType func, int32_t offset, JSTaggedType newObj, int32_t traceId);
Druntime_stubs.cpp452 uintptr_t argGlue, JSTaggedType func, int32_t offset, JSTaggedType newObj, int32_t traceId) in ProfileCreateObject() argument
455 thread->GetEcmaVM()->GetPGOProfiler()->ProfileCreateObject(func, offset, newObj, traceId); in ProfileCreateObject()