Lines Matching defs:qos
27 #include "qos.h"
32 WorkerThread::WorkerThread(const QoS& qos) : exited(false), idle(false), tid(-1), qos(qos)
36 size_t stackSize = FFRTFacade::GetEUInstance().GetGroupCtl()[qos()].workerStackSize;
42 domain_id = (qos() <= BLOCKAWARE_DOMAIN_ID_MAX) ? qos() : BLOCKAWARE_DOMAIN_ID_MAX + 1;
50 SetThreadAttr(this, qos);
56 std::string qosStr = std::to_string(qos());
58 std::string(WORKER_THREAD_SYMBOL) + std::to_string(threadIndex[qos()]++);
60 FFRT_LOGE("ffrt threadName qos[%d] index[%d]", qos(), threadIndex[qos()]);
76 FFRT_LOGE("set qos affinity failed for tid %d\n", tid);
81 void SetThreadAttr(WorkerThread* thread, const QoS& qos)
83 if (qos() <= qos_max) {
84 FFRTQosApplyForOther(qos(), thread->Id());
85 FFRT_LOGD("qos apply tid[%d] level[%d]\n", thread->Id(), qos());