Home
last modified time | relevance | path

Searched refs:DevType (Results 1 – 6 of 6) sorted by relevance

/foundation/resourceschedule/ffrt/src/eu/
Dexecute_unit.h34 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;
Dexecute_unit.cpp24 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/
Dexecute_unit_test.cpp65 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/
Dframe_interval.cpp32 ExecuteUnit::Instance().BindWG(DevType::CPU, this->qos); in FrameInterval()
Dinterval.cpp47 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/
Dtypes.h51 enum class DevType { enum