Home
last modified time | relevance | path

Searched defs:task (Results 1 – 25 of 69) sorted by relevance

123

/arkcompiler/ets_frontend/test/scripts/sdk_test/
Dexecution.py38 def validate_module_name_change(task, inc_task, is_debug, stdout, stderr, new_module_name): argument
106 def validate_compile_incremental_file(task, inc_task, is_debug, modified_files): argument
162 def prepare_incremental_task(task, test_name): argument
172 def compile_incremental_no_modify(task, is_debug): argument
184 def compile_incremental_add_oneline(task, is_debug): argument
208 def compile_incremental_add_file(task, is_debug): argument
254 def compile_incremental_add_nonexistent_file(task, is_debug): argument
306 def compile_incremental_delete_file(task, is_debug): argument
322 def compile_incremental_reverse_hap_mode(task, is_debug): argument
332 def compile_incremental_modify_module_name(task, is_debug): argument
[all …]
Dresult.py145 def is_task_passed(task): argument
228 def get_full_build_test_result(task, task_result_data, task_time_size_data): argument
246 def get_incremental_build_test_result(task, task_result_data, task_time_size_data): argument
281 def get_other_test_result(task, task_result_data): argument
Dutils.py100 def get_running_screenshot(task, image_name): argument
161 def verify_runtime(task, picture_name): argument
/arkcompiler/ets_runtime/ecmascript/taskpool/
Dtask_queue.cpp19 void TaskQueue::PostTask(std::unique_ptr<Task> task) in PostTask()
32 std::unique_ptr<Task> task = std::move(tasks_.front()); in PopTask() local
47 for (auto &task : tasks_) { in TerminateTask() local
68 for (auto &task : tasks_) { in ForEachTask() local
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/src/
Dmpl_scheduler.cpp51 void MplScheduler::AddTask(MplTask &task) in AddTask()
61 MplTask *task = nullptr; in GetTaskToRun() local
84 MplTask *task = nullptr; in GetTaskFinishFirst() local
136 int MplScheduler::FinishTask(const MplTask &task) in FinishTask()
171 MplTask *task = GetTaskToRun(); in ThreadMain() local
228 MplTask *task = nullptr; in ThreadFinish() local
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
Dgc_trigger.cpp87 void GCTriggerHeap::ComputeNewTargetFootprint(const GCTask &task, size_t heapSizeBeforeGc, size_t h… in ComputeNewTargetFootprint()
133 …auto task = MakePandaUnique<GCTask>(GCTaskCause::HEAP_USAGE_THRESHOLD_CAUSE, time::GetCurrentTimeI… in TriggerGcIfNeeded() local
249 void GCTriggerHeap::GCStarted([[maybe_unused]] const GCTask &task, [[maybe_unused]] size_t heapSize) in GCStarted()
254 void GCTriggerHeap::GCFinished(const GCTask &task, size_t heapSizeBeforeGc, size_t heapSize) in GCFinished()
272 …auto task = MakePandaUnique<GCTask>(GCTaskCause::HEAP_USAGE_THRESHOLD_CAUSE, time::GetCurrentTimeI… in TriggerGcIfNeeded() local
278 void GCTriggerDebug::GCStarted([[maybe_unused]] const GCTask &task, [[maybe_unused]] size_t heapSiz… in GCStarted()
283 void GCTriggerDebug::GCFinished([[maybe_unused]] const GCTask &task, [[maybe_unused]] size_t heapSi… in GCFinished()
295 void GCTriggerHeapOccupancy::GCStarted([[maybe_unused]] const GCTask &task, [[maybe_unused]] size_t… in GCStarted()
300 void GCTriggerHeapOccupancy::GCFinished([[maybe_unused]] const GCTask &task, [[maybe_unused]] size_… in GCFinished()
315 …auto task = MakePandaUnique<GCTask>(GCTaskCause::HEAP_USAGE_THRESHOLD_CAUSE, time::GetCurrentTimeI… in TriggerGcIfNeeded() local
[all …]
Dgc_queue.cpp41 GCTask *task = queue_.top().get(); in GetTask() local
58 bool GCQueueWithTime::AddTask(PandaUniquePtr<GCTask> task) in AddTask()
Dgc.cpp154 …auto task = MakePandaUnique<GCTask>(GCTaskCause::NATIVE_ALLOC_CAUSE, time::GetCurrentTimeInNanos()… in TriggerGCForNative() local
293 bool GC::GCPhasesPreparation(const GCTask &task) in GCPhasesPreparation()
327 void GC::GCPhasesFinish(const GCTask &task) in GCPhasesFinish()
353 void GC::RunPhases(GCTask &task) in RunPhases()
463 void GC::ProcessReferences(GCPhase gcPhase, const GCTask &task, const ReferenceClearPredicateT &pre… in ProcessReferences()
478 void GC::ProcessReferences(const GCTask &task, const ReferenceClearPredicateT &pred) in ProcessReferences()
568 auto task = MakePandaUnique<PostForkGCTask>(GCTaskCause::STARTUP_COMPLETE_CAUSE, in PreStartup() local
576 bool GC::AddGCTask(bool isManaged, PandaUniquePtr<GCTask> task) in AddGCTask()
690 bool GC::WaitForGC(GCTask task) in WaitForGC()
722 bool GC::WaitForGCInManaged(const GCTask &task) in WaitForGCInManaged()
[all …]
Dgenerational-gc-base.cpp24 bool GenerationalGC<LanguageConfig>::ShouldRunTenuredGC(const GCTask &task) in ShouldRunTenuredGC()
102 bool GenerationalGC<LanguageConfig>::Trigger(PandaUniquePtr<GCTask> task) in Trigger()
/arkcompiler/runtime_core/static_core/runtime/scheduler/
Dtask.cpp33 auto *task = allocator->New<Task>(vm, obj); in Create() local
64 auto task = Task::GetCurrent(); in SuspendCurrent() local
73 auto task = Task::GetCurrent(); in EndCurrent() local
/arkcompiler/runtime_core/static_core/libpandabase/taskmanager/
Dtask_queue.h73 PANDA_PUBLIC_API size_t AddTask(Task &&task) override in AddTask()
91 void AddTaskWithoutNewTaskCallbackExecution(Task &&task) override in AddTaskWithoutNewTaskCallbackExecution()
128 auto task = queue->Pop(); in PopTask() local
242 void PushTaskToInternalQueues(Task &&task) in PushTaskToInternalQueues()
255 auto task = foregroundTaskQueue_.Pop(); in PopTaskFromInternalQueues() local
262 void EventOnTaskAdding(Task *task) in EventOnTaskAdding()
Dtask_scheduler.cpp116 [taskReceiver](Task &&task) { taskReceiver->SetStolenTask(std::move(task)); }, 1UL, in StealTaskFromOtherWorker()
163 auto addTaskFunc = [worker](Task &&task) { worker->AddTask(std::move(task)); }; in PutTasksInWorker()
252 …realCount = queue->PopTasksToHelperThread([&taskQueue](Task &&task) { taskQueue.push(std::move(tas… in GetAndExecuteSetOfTasksFromQueue()
266 auto addTaskToQueue = [&taskQueue](Task &&task) { taskQueue.push(std::move(task)); }; in StealAndExecuteOneTaskFromWorkers()
373 WaiterId TaskScheduler::AddTaskToWaitListWithTimeout(Task &&task, uint64_t time) in AddTaskToWaitListWithTimeout()
380 WaiterId TaskScheduler::AddTaskToWaitList(Task &&task) in AddTaskToWaitList()
388 … for (auto task = waitList_.GetReadyValue(); task.has_value(); task = waitList_.GetReadyValue()) { in PutWaitTaskInLocalQueue() local
396 Task task = std::move(queue.front()); in PutTaskInTaskQueues() local
406 std::optional<Task> task; in SignalWaitList() local
Dworker_thread.cpp32 void WorkerThread::AddTask(Task &&task) in AddTask()
92 auto task = localQueue_.Pop(perWorkerPopId_[this]); in ExecuteTasksFromLocalQueue() local
108 void WorkerThread::ExecuteTask(Task *task) in ExecuteTask()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/epsilon-g1/
Depsilon-g1.cpp79 void EpsilonG1GC<LanguageConfig>::RunPhasesImpl([[maybe_unused]] GCTask &task) in RunPhasesImpl()
86 bool EpsilonG1GC<LanguageConfig>::WaitForGC([[maybe_unused]] GCTask task) in WaitForGC()
97 bool EpsilonG1GC<LanguageConfig>::Trigger([[maybe_unused]] PandaUniquePtr<GCTask> task) in Trigger()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/epsilon/
Depsilon.cpp41 void EpsilonGC<LanguageConfig>::RunPhasesImpl([[maybe_unused]] GCTask &task) in RunPhasesImpl()
49 bool EpsilonGC<LanguageConfig>::WaitForGC([[maybe_unused]] GCTask task) in WaitForGC()
66 bool EpsilonGC<LanguageConfig>::Trigger([[maybe_unused]] PandaUniquePtr<GCTask> task) in Trigger()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/workers/
Dgc_workers_task_pool.cpp36 bool GCWorkersTaskPool::AddTask(GCWorkersTask &&task) in AddTask()
49 void GCWorkersTaskPool::RunGCWorkersTask(GCWorkersTask *task, void *workerData) in RunGCWorkersTask()
Dgc_worker.cpp51 auto task = gcWorker->GetTask(); in GCThreadLoop() local
137 bool GCWorker::AddTask(PandaUniquePtr<GCTask> task) in AddTask()
163 void GCWorker::RunGC(PandaUniquePtr<GCTask> task) in RunGC()
Dgc_workers_thread_pool.cpp35 bool GCWorkersProcessor::Process(GCWorkersTask &&task) in Process()
52 bool GCWorkersThreadPool::TryAddTask(GCWorkersTask &&task) in TryAddTask()
/arkcompiler/runtime_core/static_core/runtime/tests/
Dexplicit_gc_test.cpp104 GCTask task(GCTaskCause::EXPLICIT_CAUSE); in TEST_F() local
120 GCTask task(GCTaskCause::HEAP_USAGE_THRESHOLD_CAUSE); in TEST_F() local
130 GCTask task(GCTaskCause::EXPLICIT_CAUSE); in TEST_F() local
158 GCTask task(GCTaskCause::EXPLICIT_CAUSE); in TEST_F() local
186 GCTask task(GCTaskCause::EXPLICIT_CAUSE); in TEST_F() local
214 GCTask task(GCTaskCause::EXPLICIT_CAUSE); in TEST_F() local
Dgc_log_test.cpp93 GCTask task(GCTaskCause::YOUNG_GC_CAUSE); in CounterLogTest() local
121 GCTask task(GCTaskCause::YOUNG_GC_CAUSE); in FullLogTest() local
191 GCTask task(GCTaskCause::YOUNG_GC_CAUSE); in TEST_F() local
231 GCTask task(GCTaskCause::YOUNG_GC_CAUSE); in TEST_F() local
/arkcompiler/ets_runtime/ecmascript/daemon/
Ddaemon_thread.cpp90 bool DaemonThread::CheckAndPostTask(DaemonTask task) in CheckAndPostTask()
119 DaemonTask task = PopTask(); in Run() local
153 DaemonTask task = tasks_.front(); in PopTask() local
/arkcompiler/runtime_core/static_core/libpandabase/taskmanager/utils/
Dworker_thread_local_queue.h62 void Push(Task &&task) in Push()
85 auto task = Pop(id, prop); in Pop() local
97 auto task = queue.Pop(id); in Pop() local
/arkcompiler/runtime_core/static_core/runtime/
Dthread_pool.h175 Task task; in Help() local
195 bool TryPutTask(Task &&task) in TryPutTask()
212 bool PutTask(Task &&task) in PutTask()
260 Task task; in WorkerEntry() local
/arkcompiler/runtime_core/static_core/runtime/mem/gc/stw-gc/
Dstw-gc.cpp61 void StwGC<LanguageConfig>::RunPhasesImpl(GCTask &task) in RunPhasesImpl()
77 void StwGC<LanguageConfig>::Mark(const GCTask &task) in Mark()
190 bool StwGC<LanguageConfig>::Trigger(PandaUniquePtr<GCTask> task) in Trigger()
196 void StwGC<LanguageConfig>::WorkerTaskProcessing(GCWorkersTask *task, [[maybe_unused]] void *worker… in WorkerTaskProcessing()
/arkcompiler/runtime_core/static_core/libpandabase/tests/taskmanager/
Dtask_test.cpp52 Task task = Task::Create({TaskType::GC, VMType::DYNAMIC_VM, TaskExecutionMode::BACKGROUND}, in TEST_F() local
138 auto task = queue->PopTask(); in TEST_F() local
169 std::optional<Task> task; in TEST_F() local
216 auto task = queue->PopTask(); in TEST_F() local
251 auto task = queue->PopTask(); in TEST_F() local
289 auto task = queue->PopTask(TaskExecutionMode::FOREGROUND); in TEST_F() local

123