• Home
  • Raw
  • Download

Lines Matching defs:worker

109         for (auto& worker : workers_) {  in ~TaskManager()  local
162 for (auto& worker : workers_) { in GetThreadInfos() local
278 auto worker = *iter; in CheckForBlockedWorkers() local
361 for (auto& worker : idleWorkers_) { in GetIdleWorkers() local
393 for (auto& worker : idleWorkers_) { in GetIdleWorkersList() local
439 auto worker = freeList_[i]; in TriggerShrink() local
467 auto iter = std::find_if(idleWorkers_.begin(), idleWorkers_.end(), [](Worker* worker) { in TriggerShrink()
473 auto worker = *iter; in TriggerShrink() local
499 auto worker = *iter; in NotifyShrink() local
515 auto worker = *(idleWorkers_.begin()); in NotifyShrink() local
594 [currTime](const auto& worker) { in TryExpandWithCheckIdle()
737 void TaskManager::NotifyWorkerIdle(Worker* worker) in NotifyWorkerIdle()
752 void TaskManager::NotifyWorkerCreated(Worker* worker) in NotifyWorkerCreated()
758 void TaskManager::NotifyWorkerAdded(Worker* worker) in NotifyWorkerAdded()
765 void TaskManager::NotifyWorkerRunning(Worker* worker) in NotifyWorkerRunning()
775 return std::count_if(workers_.begin(), workers_.end(), [](const auto& worker) { in GetRunningWorkers()
931 for (auto& worker : idleWorkers_) { in NotifyExecuteTask() local
977 auto worker = Worker::WorkerConstructor(env); in CreateWorkers() local
983 void TaskManager::RemoveWorker(Worker* worker) in RemoveWorker()
991 void TaskManager::RestoreWorker(Worker* worker) in RestoreWorker()
1083 auto worker = task->GetWorker(); in ExecuteSendData() local
1344 void TaskManager::StoreLongTaskInfo(uint32_t taskId, Worker* worker) in StoreLongTaskInfo()
1366 auto worker = GetLongTaskInfo(taskId); in TerminateTask() local
1596 void TaskManager::WriteHisysForFfrtAndUv(Worker* worker, HisyseventParams* hisyseventParams) in WriteHisysForFfrtAndUv()
1643 void TaskManager::WorkerAliveAndReport(Worker* worker) in WorkerAliveAndReport()
1666 void TaskManager::UvReportHisysEvent(Worker* worker, std::string methodName, std::string funName, s… in UvReportHisysEvent()