Searched refs:DevType (Results 1 – 6 of 6) sorted by relevance
/foundation/resourceschedule/ffrt/src/eu/ |
D | execute_unit.h | 34 ThreadGroup* BindTG(const DevType dev, QoS& qos); 35 void UnbindTG(const DevType dev, QoS& qos); 36 void BindWG(const DevType dev, QoS& qos); 41 wManager[static_cast<size_t>(DevType::CPU)]->NotifyTaskAdded(qos); in NotifyTaskAdded() 47 return wManager[static_cast<size_t>(DevType::CPU)]->GetSleepCtl(qos); in GetSleepCtl() 52 return wManager[static_cast<size_t>(DevType::CPU)]->GetGroupCtl(); in GetGroupCtl() 58 std::array<std::unique_ptr<WorkerManager>, static_cast<size_t>(DevType::DEVMAX)> wManager;
|
D | execute_unit.cpp | 24 auto create = [&](const DevType dev) { in ExecuteUnit() 27 case DevType::CPU: in ExecuteUnit() 42 for (size_t dev = 0; dev < static_cast<size_t>(DevType::DEVMAX); ++dev) { in ExecuteUnit() 43 create(static_cast<DevType>(dev)); in ExecuteUnit() 47 ThreadGroup* ExecuteUnit::BindTG(const DevType dev, QoS& qos) in BindTG() 52 void ExecuteUnit::BindWG(const DevType dev, QoS& qos) in BindWG() 57 void ExecuteUnit::UnbindTG(const DevType dev, QoS& qos) in UnbindTG()
|
/foundation/resourceschedule/ffrt/test/ut/ |
D | execute_unit_test.cpp | 65 ExecuteUnit::Instance().BindWG(DevType(0), *qos1); 76 ExecuteUnit::Instance().UnbindTG(DevType(0), *qos1); 87 ThreadGroup* it = ExecuteUnit::Instance().BindTG(DevType(0), *qos1);
|
/foundation/resourceschedule/ffrt/src/sched/ |
D | frame_interval.cpp | 32 ExecuteUnit::Instance().BindWG(DevType::CPU, this->qos); in FrameInterval()
|
D | interval.cpp | 47 tg = ExecuteUnit::Instance().BindTG(DevType::CPU, this->qos); in PerfCtrl() 54 ExecuteUnit::Instance().UnbindTG(DevType::CPU, qos); in ~PerfCtrl()
|
/foundation/resourceschedule/ffrt/src/internal_inc/ |
D | types.h | 51 enum class DevType { enum
|