/foundation/resourceschedule/ffrt/src/sched/ |
H A D | scheduler.h | 51 void onWait(const std::vector<VersionCtx*>& waitDatas, int64_t deadline) in onWait() argument 59 FFRT_LOGD("wait task=%p deadline=%ld", waitVersion->myProducer, deadline); in onWait() 60 updateTask(waitVersion->myProducer, deadline); in onWait() 61 UpdateVersion(waitVersion->preVersion, deadline); in onWait() 91 void ResetDeadline(CPUEUTask* task, int64_t deadline) in ResetDeadline() argument 98 task->qos.deadline.relative += deadline - task->qos.deadline.absolute; in ResetDeadline() 99 task->qos.deadline in ResetDeadline() 102 updateTask(CPUEUTask* task, int64_t deadline) updateTask() argument 114 UpdateChildTask(CPUEUTask* task, int64_t deadline) UpdateChildTask() argument 119 UpdateVersion(VersionCtx* data, int64_t deadline) UpdateVersion() argument [all...] |
H A D | frame_interval.cpp | 24 FrameInterval::FrameInterval(uint64_t deadline, const QoS& qos) : Interval(deadline, qos), qos(qos) in FrameInterval() argument 28 wg = WorkgroupCreate(deadline); in FrameInterval()
|
H A D | frame_interval.h | 30 FrameInterval(uint64_t deadline, const QoS& qos);
|
/foundation/resourceschedule/ffrt/test/ut/ |
H A D | frame_interval_test.cpp | 113 uint64_t deadline = 900; in HWTEST_F() local 114 fi->Update(deadline); in HWTEST_F() 115 deadline = 1500000; in HWTEST_F() 116 fi->Update(deadline); in HWTEST_F() 118 deadline = 100000; in HWTEST_F() 119 fi->Update(deadline); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/ |
H A D | water_flow_layout_algorithm_base.cpp | 83 context->AddPredictTask([weak = WeakPtr(frameNode)](int64_t deadline, bool canUseLongPredictTask) { in PostIdleTask() 96 if (GetSysTimestamp() > deadline) { in PostIdleTask() 102 needMarkDirty |= algo->PreloadItem(RawPtr(host), *it, deadline); in PostIdleTask()
|
H A D | water_flow_layout_algorithm_base.h | 36 * @param deadline of the preload task. Return early if deadline is reached. 39 virtual bool PreloadItem(LayoutWrapper* host, int32_t itemIdx, int64_t deadline) = 0;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/custom/ |
H A D | custom_node.cpp | 99 bool CustomNode::RenderCustomChild(int64_t deadline) in RenderCustomChild() argument 101 if (GetSysTimestamp() > deadline) { in RenderCustomChild() 105 return UINode::RenderCustomChild(deadline); in RenderCustomChild()
|
H A D | custom_node.h | 94 bool RenderCustomChild(int64_t deadline) override;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/ |
H A D | lazy_for_each_builder.h | 257 const std::optional<LayoutConstraintF>& itemConstraint, int64_t deadline, bool& isTimeout) in CacheItem() 267 if (!itemInfo.second->RenderCustomChild(deadline)) { in CacheItem() 314 int64_t deadline, const std::optional<LayoutConstraintF>& itemConstraint, bool canRunLongPredictTask) in PreBuildByIndex() 316 if (GetSysTimestamp() > deadline) { in PreBuildByIndex() 324 auto uiNode = CacheItem(index, cache, itemConstraint, deadline, isTimeout); in PreBuildByIndex() 350 bool ProcessPreBuildingIndex(std::unordered_map<std::string, LazyForEachCacheChild>& cache, int64_t deadline, in ProcessPreBuildingIndex() argument 359 return PreBuildByIndex(preBuildingIndex_, cache, deadline, itemConstraint, canRunLongPredictTask); in ProcessPreBuildingIndex() 362 bool PreBuild(int64_t deadline, const std::optional<LayoutConstraintF>& itemConstraint, bool canRunLongPredictTask); 256 CacheItem(int32_t index, std::unordered_map<std::string, LazyForEachCacheChild>& cache, const std::optional<LayoutConstraintF>& itemConstraint, int64_t deadline, bool& isTimeout) CacheItem() argument 313 PreBuildByIndex(int32_t index, std::unordered_map<std::string, LazyForEachCacheChild>& cache, int64_t deadline, const std::optional<LayoutConstraintF>& itemConstraint, bool canRunLongPredictTask) PreBuildByIndex() argument
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/irregular/ |
H A D | grid_layout_utils.cpp | 69 context->AddPredictTask([weak = AceType::WeakClaim(AceType::RawPtr(pattern)), buildCb](int64_t deadline, bool _) { in PreloadGridItemsHelper() 85 if (GetSysTimestamp() > deadline) { in PreloadGridItemsHelper()
|
/foundation/arkui/ace_engine/adapter/preview/entrance/ |
H A D | event_dispatcher.h | 37 void DispatchIdleEvent(int64_t deadline);
|
H A D | ace_view_preview.h | 158 void ProcessIdleEvent(int64_t deadline) in ProcessIdleEvent() argument 161 idleCallback_(deadline); in ProcessIdleEvent()
|
/foundation/resourceschedule/ffrt/src/dm/ |
H A D | sdependence_manager.h | 36 void onWait(const ffrt_deps_t* deps, int64_t deadline = -1) override;
|
H A D | sdependence_manager.cpp | 198 void SDependenceManager::onWait(const ffrt_deps_t* deps, int64_t deadline = -1) in onWait() 229 if (deadline != -1) { in onWait() 230 Scheduler::Instance()->onWait(waitDatas, deadline); in onWait()
|
H A D | dependence_manager.h | 102 virtual void onWait(const ffrt_deps_t* deps, int64_t deadline = -1) = 0;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/ |
H A D | water_flow_layout_algorithm.h | 40 bool PreloadItem(LayoutWrapper* host, int32_t itemIdx, int64_t deadline) override;
|
H A D | water_flow_segmented_layout.h | 77 bool PreloadItem(LayoutWrapper* host, int32_t itemIdx, int64_t deadline) override; 127 * @param cacheDeadline when called during a cache layout, always measure the items and return early if deadline is
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/ |
H A D | water_flow_layout_sw.cpp | 277 bool OverDue(const std::optional<int64_t>& deadline) in OverDue() argument 279 return deadline && GetSysTimestamp() > *deadline; in OverDue() 709 bool WaterFlowLayoutSW::PreloadItem(LayoutWrapper* host, int32_t itemIdx, int64_t deadline) in PreloadItem() argument 714 cacheDeadline_ = deadline; in PreloadItem()
|
H A D | water_flow_layout_sw.h | 40 bool PreloadItem(LayoutWrapper* host, int32_t itemIdx, int64_t deadline) override; 192 std::optional<int64_t> cacheDeadline_; // cache layout deadline
|
/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | render_multi_child_scroll.h | 103 void OnPredictLayout(int64_t deadline) override;
|
/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/ |
H A D | ui_task_scheduler.cpp | 288 void UITaskScheduler::FlushPredictTask(int64_t deadline, bool canUseLongPredictTask) in FlushPredictTask() argument 293 task(deadline, canUseLongPredictTask); in FlushPredictTask()
|
H A D | ui_task_scheduler.h | 91 void FlushPredictTask(int64_t deadline, bool canUseLongPredictTask = false);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_layout_algorithm.h | 500 static bool PredictBuildGroup(RefPtr<LayoutWrapper> wrapper, const LayoutConstraintF& constraint, int64_t deadline, 504 static void PredictBuildV2(RefPtr<FrameNode> frameNode, int64_t deadline,
|
H A D | list_item_pattern.h | 65 bool RenderCustomChild(int64_t deadline) override;
|
H A D | list_item_group_pattern.cpp | 608 void ListItemGroupPattern::LayoutCache(const LayoutConstraintF& constraint, int64_t deadline, in LayoutCache() argument 636 .deadline = deadline, in LayoutCache()
|