Home
last modified time | relevance | path

Searched refs:taskInfo (Results 1 - 11 of 11) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
H A Dcpu_profiler.cpp89 TaskInfo taskInfo { vm_, taskHandle }; in StartCpuProfilerForInfo()
91 TaskInfo taskInfo { vm_, nullptr }; in StartCpuProfilerForInfo()
95 profilerMap_[tid_] = taskInfo; in StartCpuProfilerForInfo()
147 TaskInfo taskInfo { vm_, taskHandle }; in StartCpuProfilerForFile()
149 TaskInfo taskInfo { vm_, nullptr }; in StartCpuProfilerForFile()
153 profilerMap_[tid_] = taskInfo; in StartCpuProfilerForFile()
/arkcompiler/ets_runtime/ecmascript/
H A Decma_vm.cpp792 void *taskInfo = reinterpret_cast<void*>(thread_->GetTaskInfo()); variable
793 // clear the taskInfo when return, which can prevent the callback to get it
797 concurrentCallback_(localResultRef, success, taskInfo, concurrentData_);
H A Djs_thread.h904 void SetTaskInfo(uintptr_t taskInfo)
906 glueData_.taskInfo_ = taskInfo;
/arkcompiler/ets_runtime/ecmascript/napi/include/
H A Djsnapi.h87 using ConcurrentCallback = void (*)(Local<JSValueRef> result, bool success, void *taskInfo, void *data);
H A Djsnapi_expo.h111 using ConcurrentCallback = void (*)(Local<JSValueRef> result, bool success, void *taskInfo, void *data);
1716 static bool InitForConcurrentFunction(EcmaVM *vm, Local<JSValueRef> func, void *taskInfo);
/arkcompiler/ets_runtime/ecmascript/napi/test/
H A Djsnapi_second_tests.cpp1728 void *taskInfo = reinterpret_cast<void *>(BuiltinsFunction::FunctionPrototypeInvokeSelf); in HWTEST_F_L0() local
1730 EXPECT_FALSE(JSNApi::InitForConcurrentFunction(vm_, function, taskInfo)); in HWTEST_F_L0()
H A Dffi_workload.cpp6376 void *taskInfo = nullptr; in HWTEST_F_L0() local
6379 JSNApi::InitForConcurrentFunction(vm_, res1, taskInfo); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dslowpath_lowering.cpp3010 GateRef taskInfo = builder_.Load(VariableType::NATIVE_POINTER(), obj, taskInfoOffset); in LowerResumeGenerator() local
3013 builder_.Store(VariableType::NATIVE_POINTER(), glue_, glue_, glueTaskOffset, taskInfo); in LowerResumeGenerator() local
H A Dinterpreter_stub.cpp1349 GateRef taskInfo = Load(VariableType::NATIVE_POINTER(), obj, taskInfoOffset); in DECLARE_ASM_HANDLER() local
1351 IntPtr(JSThread::GlueData::GetTaskInfoOffset(env->Is32Bit())), taskInfo); in DECLARE_ASM_HANDLER()
/arkcompiler/ets_runtime/ecmascript/napi/
H A Djsnapi_expo.cpp4169 bool JSNApi::InitForConcurrentFunction(EcmaVM *vm, Local<JSValueRef> function, void *taskInfo) in InitForConcurrentFunction() argument
4181 thread->SetTaskInfo(reinterpret_cast<uintptr_t>(taskInfo)); in InitForConcurrentFunction()
/arkcompiler/ets_runtime/ecmascript/interpreter/
H A Dinterpreter-inl.cpp5133 uintptr_t taskInfo = obj->GetTaskInfo(); in RunInternal() local
5134 thread->SetTaskInfo(taskInfo); in RunInternal()

Completed in 67 milliseconds