Home
last modified time | relevance | path

Searched refs:GetQos (Results 1 - 17 of 17) sorted by relevance

/foundation/resourceschedule/ffrt/src/eu/
H A Dcpuworker_manager.cpp110 if (GetStealingWorkers(thread->GetQos()) > groupCtl[thread->GetQos()].threads.size() / 2) { in StealTaskBatch()
114 std::shared_lock<std::shared_mutex> lck(groupCtl[thread->GetQos()].tgMutex); in StealTaskBatch()
115 AddStealingWorker(thread->GetQos()); in StealTaskBatch()
117 groupCtl[thread->GetQos()].threads.begin(); in StealTaskBatch()
118 while (iter != groupCtl[thread->GetQos()].threads.end()) { in StealTaskBatch()
123 reinterpret_cast<CPUWorker*>(thread)->localFifo, (queueLen + 1) / 2, thread->GetQos(), InsertTask); in StealTaskBatch()
124 SubStealingWorker(thread->GetQos()); in StealTaskBatch()
129 SubStealingWorker(thread->GetQos()); in StealTaskBatch()
135 if (tearDown || FFRTFacade::GetPPInstance().GetPoller(thread->GetQos()) in TryPoll()
[all...]
H A Dscpuworker_manager.cpp109 auto& ctl = sleepCtl[thread->GetQos()]; in WorkerIdleAction()
111 (void)monitor->IntoSleep(thread->GetQos()); in WorkerIdleAction()
112 FFRT_PERF_WORKER_IDLE(static_cast<int>(thread->GetQos())); in WorkerIdleAction()
117 bool taskExistence = GetTaskCount(thread->GetQos()) || in WorkerIdleAction()
120 bool needPoll = !FFRTFacade::GetPPInstance().GetPoller(thread->GetQos()).DetermineEmptyMap() && in WorkerIdleAction()
121 (polling_[thread->GetQos()] == 0); in WorkerIdleAction()
124 monitor->WakeupCount(thread->GetQos()); in WorkerIdleAction()
125 FFRT_PERF_WORKER_AWAKE(static_cast<int>(thread->GetQos())); in WorkerIdleAction()
132 monitor->IntoDeepSleep(thread->GetQos()); in WorkerIdleAction()
138 return tearDown || GetTaskCount(thread->GetQos()) || in WorkerIdleAction()
[all...]
H A Dcpu_worker.cpp126 Run(curtask, static_cast<ffrt_qos_t>(worker->GetQos())); in RunTask()
207 ctx->qos = worker->GetQos(); in Dispatch()
211 FFRT_LOGI("qos[%d] thread start succ", static_cast<int>(worker->GetQos())); in Dispatch()
213 FFRT_PERF_WORKER_AWAKE(static_cast<int>(worker->GetQos())); in Dispatch()
H A Dworker_thread.h103 const QoS& GetQos() const in GetQos() function in ffrt::WorkerThread
H A Dco_routine.cpp428 FFRTTraceRecord::TaskRun(task->GetQos(), task);
/foundation/resourceschedule/ffrt/src/queue/
H A Dqueue_strategy.h42 if (next->GetQos() != head->GetQos()) { in DequeBatch()
H A Dqueue_handler.cpp121 if (task->GetQos() == qos_inherit || task->GetQos() == qos_default) { in Submit()
224 FFRTTraceRecord::TaskDone<ffrt_queue_task>(task->GetQos(), task); in Dispatch()
263 if (!sch->InsertNode(&entry->node, task->GetQos())) { in TransferTask()
/foundation/resourceschedule/ffrt/src/tm/
H A Dscpu_task.cpp50 FFRTTraceRecord::TaskEnqueue<ffrt_normal_task>(GetQos()); in DecDepRef()
118 FFRTTraceRecord::TaskEnqueue<ffrt_normal_task>(GetQos()); in DecWaitDataRef()
H A Dtask_base.h39 virtual int GetQos() const in GetQos() function in ffrt::TaskBase
H A Dcpu_task.h69 int GetQos() const override
H A Dqueue_task.h42 inline int GetQos() const override
/foundation/resourceschedule/ffrt/test/ut/testcase/
H A Dut_worker_manager.cpp224 auto& sched = FFRTScheduler::Instance()->GetScheduler(worker->GetQos()); in HWTEST_F()
252 auto& sched1 = FFRTScheduler::Instance()->GetScheduler(worker1->GetQos()); in HWTEST_F()
253 auto& sched2 = FFRTScheduler::Instance()->GetScheduler(worker2->GetQos()); in HWTEST_F()
H A Dut_thread.cpp109 QoS ret = wt->GetQos(); in HWTEST_F()
/foundation/resourceschedule/ffrt/test/ut/
H A Dworker_thread_test.cpp107 * @tc.desc: Test whether the GetQos interface are normal.
113 QoS ret = wt->GetQos(); in HWTEST_F()
/foundation/resourceschedule/ffrt/src/dfx/trace_record/
H A Dffrt_trace_record.h182 g_recordTaskCounter_[task->type][task->GetQos()].coSwitchCounter.fetch_add(1, std::memory_order_relaxed); in TaskCoSwitchOut()
/foundation/resourceschedule/ffrt/src/dm/
H A Dsdependence_manager.cpp274 FFRTTraceRecord::TaskDone<ffrt_normal_task>(task->GetQos()); in onTaskDone()
275 FFRTTraceRecord::TaskDone<ffrt_normal_task>(task->GetQos(), task); in onTaskDone()
/foundation/resourceschedule/ffrt/src/dfx/bbox/
H A Dbbox.cpp195 tmp.size(), t->gid, t->GetQos(), t->label.c_str()); in SaveQueueTaskStatus()
567 << t->GetQos() << "name" << t->label.c_str(); in SaveQueueTaskStatusInfo()

Completed in 8 milliseconds