Lines Matching refs:ffrt
21 static bool QosConvert(ffrt_qos_t qos, ffrt::QoS& mappedQos)
23 if (ffrt::GetFuncQosMap() == nullptr) {
27 mappedQos = ffrt::GetFuncQosMap()(qos);
28 if (mappedQos == ffrt::qos_inherit) {
29 mappedQos = ffrt::ExecuteCtx::Cur()->qos();
37 ffrt::QoS ffrtQos;
42 return ffrt::FFRTFacade::GetPPInstance().GetPoller(ffrtQos).DelFdEvent(fd);
44 int ret = ffrt::FFRTFacade::GetPPInstance().GetPoller(ffrtQos).AddFdEvent(op, events, fd, data, cb);
46 ffrt::FFRTFacade::GetEUInstance().NotifyLocalTaskAdded(ffrtQos);
58 ffrt::QoS ffrtQos;
62 return ffrt::FFRTFacade::GetPPInstance().GetPoller(ffrtQos).WaitFdEvent(events, max_events, timeout);
68 ffrt::QoS pollerQos;
73 ffrt::FFRTFacade::GetPPInstance().GetPoller(pollerQos).WakeUp();
79 ffrt::QoS pollerQos;
84 return ffrt::FFRTFacade::GetPPInstance().GetPoller(pollerQos).GetPollCount();
95 auto task = reinterpret_cast<ffrt::CPUEUTask*>(taskHandle);
96 return ffrt::FFRTFacade::GetPPInstance().GetPoller(task->qos).GetTaskWaitTime(task);