Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/
H A Dtask_executor_impl.cpp43 TaskExecutor::Task&& task, int32_t id, std::function<void()>&& traceIdFunc) const in WrapTaskWithContainer()
46 traceIdFunc = std::move(traceIdFunc)]() { in WrapTaskWithContainer()
55 if (traceIdFunc) { in WrapTaskWithContainer()
56 traceIdFunc(); in WrapTaskWithContainer()
63 TaskExecutor::Task&& task, int32_t id, std::function<void()>&& traceIdFunc) const in WrapTaskWithCustomWrapper()
66 … traceIdPtr = TraceId::CreateTraceId(), traceIdFunc = std::move(traceIdFunc)]() { in WrapTaskWithCustomWrapper()
75 if (traceIdFunc) { in WrapTaskWithCustomWrapper()
76 traceIdFunc(); in WrapTaskWithCustomWrapper()
176 auto traceIdFunc = [weak = WeakClaim(const_cast<TaskExecutorImpl*>(this)), type]() { in OnPostTask() local
184 …::Task wrappedTask = WrapTaskWithCustomWrapper(std::move(task), currentId, std::move(traceIdFunc)); in OnPostTask()
[all …]
H A Dtask_executor_impl.h62 TaskExecutor::Task&& task, int32_t id, std::function<void()>&& traceIdFunc = nullptr) const;
64 TaskExecutor::Task&& task, int32_t id, std::function<void()>&& traceIdFunc = nullptr) const;