Searched refs:methodKey (Results 1 – 7 of 7) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/ |
| D | js_stackgetter.h | 43 bool operator < (const MethodKey &methodKey) const 45 return state < methodKey.state || 46 (state == methodKey.state && methodIdentifier < methodKey.methodIdentifier) || 47 (state == methodKey.state && methodIdentifier == methodKey.methodIdentifier && 48 deoptType < methodKey.deoptType) || 49 (state == methodKey.state && methodIdentifier == methodKey.methodIdentifier && 50 deoptType == methodKey.deoptType && lineNumber < methodKey.lineNumber); 55 struct MethodKey methodKey = {0}; member 60 (parentId == nodeKey.parentId && methodKey < nodeKey.methodKey); 72 struct MethodKey methodKey = {0}; member [all …]
|
| D | js_stackgetter.cpp | 53 bool JsStackGetter::ParseMethodInfo(struct MethodKey &methodKey, in ParseMethodInfo() argument 61 codeEntry.methodKey = methodKey; in ParseMethodInfo() 68 … EntityId methodId = reinterpret_cast<MethodLiteral *>(methodKey.methodIdentifier)->GetMethodId(); in ParseMethodInfo()
|
| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
| D | heap_sampling.cpp | 55 bool HeapSampling::PushStackInfo(const struct MethodKey &methodKey) in PushStackInfo() argument 60 frameStack_.emplace_back(methodKey); in PushStackInfo() 98 struct MethodKey methodKey; in GetStack() local 100 methodKey.state = JsStackGetter::GetRunningState(it, vm_, isNative, true); in GetStack() 103 methodKey.state = JsStackGetter::GetRunningState(it, vm_, isNative, false); in GetStack() 109 methodKey.methodIdentifier = methodIdentifier; in GetStack() 110 if (stackInfoMap_.count(methodKey) == 0) { in GetStack() 112 if (UNLIKELY(!JsStackGetter::ParseMethodInfo(methodKey, it, vm_, codeEntry))) { in GetStack() 119 if (UNLIKELY(!PushStackInfo(methodKey))) { in GetStack() 147 frameInfoTemps_[i].methodKey.state, in FillScriptIdAndStore() [all …]
|
| D | heap_sampling.h | 68 CallFrameInfo GetMethodInfo(const MethodKey &methodKey); 69 struct SamplingNode *FindOrAddNode(struct SamplingNode *node, const MethodKey &methodKey); 70 bool PushStackInfo(const struct MethodKey &methodKey);
|
| /arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
| D | cpu_profiler.cpp | 282 struct MethodKey methodKey; in GetStack() local 283 methodKey.deoptType = method->GetDeoptType(); in GetStack() 285 JsStackGetter::GetCallLineNumber(it, methodKey.lineNumber); in GetStack() 286 methodKey.state = JsStackGetter::GetRunningState(it, vm_, isNative, true, enableVMTag_); in GetStack() 289 … methodKey.state = JsStackGetter::GetRunningState(it, vm_, isNative, false, enableVMTag_); in GetStack() 295 methodKey.methodIdentifier = methodIdentifier; in GetStack() 296 if (stackInfo.count(methodKey) == 0) { in GetStack() 298 if (UNLIKELY(!JsStackGetter::ParseMethodInfo(methodKey, it, vm_, codeEntry, true))) { in GetStack() 305 if (UNLIKELY(!generator_->PushFrameStack(methodKey))) { in GetStack() 349 struct MethodKey methodKey; in GetStackCallNapi() local [all …]
|
| D | samples_record.cpp | 56 nodeKey.methodKey.methodIdentifier = reinterpret_cast<void *>(INT_MAX - 1); in NodeInit() 63 … nodeKey.methodKey.methodIdentifier = reinterpret_cast<void *>(INT_MAX - 2); // 2:program node id in NodeInit() 70 nodeKey.methodKey.methodIdentifier = reinterpret_cast<void *>(INT_MAX - 3); // 3:idle node id in NodeInit() 92 nodeKey.methodKey = frame->frameStack[frameStackLength - 1]; in AddSample() 99 methodNode.codeEntry = GetMethodInfo(nodeKey.methodKey); in AddSample() 120 previousState_ = nodeKey.methodKey.state; in AddSample() 391 struct FrameInfo SamplesRecord::GetMethodInfo(struct MethodKey &methodKey) in GetMethodInfo() argument 394 auto iter = stackInfoMap_.find(methodKey); in GetMethodInfo() 582 void SamplesRecord::InsertStackInfo(struct MethodKey &methodKey, struct FrameInfo &codeEntry) in InsertStackInfo() argument 584 stackInfoMap_.emplace(methodKey, codeEntry); in InsertStackInfo() [all …]
|
| D | samples_record.h | 145 void InsertStackInfo(struct MethodKey &methodKey, struct FrameInfo &codeEntry); 146 bool PushFrameStack(struct MethodKey &methodKey); 154 bool PushNapiFrameStack(struct MethodKey &methodKey); 194 struct FrameInfo GetMethodInfo(struct MethodKey &methodKey);
|