Searched refs:TaskNotifyType (Results 1 - 8 of 8) sorted by relevance
/foundation/resourceschedule/ffrt/src/eu/ |
H A D | cpu_manager_interface.h | 31 enum class TaskNotifyType { class 64 std::function<void (const QoS& qos, void*, TaskNotifyType)> HandleTaskNotity;
|
H A D | cpu_monitor.h | 70 virtual void Notify(const QoS& qos, TaskNotifyType notifyType) = 0; 75 static void HandleTaskNotifyDefault(const QoS& qos, void* p, TaskNotifyType notifyType); 85 void Poke(const QoS& qos, uint32_t taskCount, TaskNotifyType notifyType);
|
H A D | scpu_monitor.cpp | 30 void SCPUMonitor::Notify(const QoS& qos, TaskNotifyType notifyType) in Notify()
|
H A D | scpu_monitor.h | 29 void Notify(const QoS& qos, TaskNotifyType notifyType) override;
|
H A D | cpuworker_manager.cpp | 158 monitor->Notify(qos, TaskNotifyType::TASK_LOCAL); in NotifyLocalTaskAdded() 164 monitor->Notify(thread->GetQos(), TaskNotifyType::TASK_PICKED); in NotifyTaskPicked() 196 monitor->Notify(qos, TaskNotifyType::TASK_ADDED); in NotifyTaskAdded()
|
H A D | cpu_monitor.cpp | 260 Poke(i, taskCount, TaskNotifyType::TASK_ADDED); in MonitorMain() 453 void CPUMonitor::Poke(const QoS& qos, uint32_t taskCount, TaskNotifyType notifyType) in Poke() 477 if (notifyType != TaskNotifyType::TASK_ADDED && tiggerSuppression) { in Poke() 530 void CPUMonitor::HandleTaskNotifyDefault(const QoS& qos, void* p, TaskNotifyType notifyType) in HandleTaskNotifyDefault() 535 case TaskNotifyType::TASK_ADDED: in HandleTaskNotifyDefault() 536 case TaskNotifyType::TASK_PICKED: in HandleTaskNotifyDefault() 541 case TaskNotifyType::TASK_LOCAL: in HandleTaskNotifyDefault()
|
/foundation/resourceschedule/ffrt/test/ut/testcase/ |
H A D | ut_cpumonitor.cpp | 101 wmonitor.Notify(QoS(static_cast<int>(qos_default)), TaskNotifyType::TASK_ADDED); in HWTEST_F() 102 wmonitor.Notify(QoS(static_cast<int>(qos_default)), TaskNotifyType::TASK_PICKED); in HWTEST_F() 109 wmonitor.Notify(QoS(static_cast<int>(qos_default)), TaskNotifyType::TASK_ADDED); in HWTEST_F() 113 wmonitor.Notify(QoS(static_cast<int>(qos_default)), TaskNotifyType::TASK_PICKED); in HWTEST_F()
|
/foundation/resourceschedule/ffrt/test/ut/ |
H A D | cpu_monitor_test.cpp | 157 cpu.Notify(QoS(5), TaskNotifyType(1)); in HWTEST_F()
|
Completed in 4 milliseconds