/aosp12/art/runtime/ |
H A D | thread_pool_test.cc | 70 thread_pool.StartWorkers(self); in TEST_F() 89 thread_pool.StartWorkers(self); in TEST_F() 91 thread_pool.StopWorkers(self); in TEST_F() 98 thread_pool.StartWorkers(self); in TEST_F() 113 thread_pool.StartWorkers(self); in TEST_F() 115 thread_pool.StopWorkers(self); in TEST_F() 121 thread_pool.StartWorkers(self); in TEST_F() 128 : thread_pool_(thread_pool), in TreeTask() 157 thread_pool.AddTask(self, new TreeTask(&thread_pool, &count, depth)); in TEST_F() 158 thread_pool.StartWorkers(self); in TEST_F() [all …]
|
H A D | barrier_test.cc | 63 ThreadPool thread_pool("Barrier test thread pool", num_threads); in TEST_F() local 69 thread_pool.AddTask(self, new CheckWaitTask(&barrier, &count1, &count2)); in TEST_F() 71 thread_pool.StartWorkers(self); in TEST_F() 80 thread_pool.Wait(self, true, false); in TEST_F() 114 ThreadPool thread_pool("Barrier test thread pool", num_threads); in TEST_F() local 120 thread_pool.AddTask(self, new CheckPassTask(&barrier, &count, num_sub_tasks)); in TEST_F() 122 thread_pool.StartWorkers(self); in TEST_F()
|
H A D | monitor_test.cc | 269 ThreadPool thread_pool(pool_name, 3); in CommonWaitSetup() local 270 thread_pool.AddTask(self, new CreateTask(test, create_sleep, c_millis, c_expected)); in CommonWaitSetup() 274 thread_pool.AddTask(self, new UseTask(test, use_sleep, u_millis, u_expected)); in CommonWaitSetup() 276 thread_pool.AddTask(self, new WatchdogTask(test)); in CommonWaitSetup() 277 thread_pool.StartWorkers(self); in CommonWaitSetup() 291 thread_pool.StopWorkers(self); in CommonWaitSetup() 350 ThreadPool thread_pool("the pool", 2); in TEST_F() local 362 thread_pool.AddTask(self, new TryLockTask(obj1)); in TEST_F() 363 thread_pool.StartWorkers(self); in TEST_F() 365 thread_pool.Wait(Thread::Current(), /*do_work=*/false, /*may_hold_locks=*/false); in TEST_F() [all …]
|
H A D | thread_pool.cc | 49 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker() argument 51 : thread_pool_(thread_pool), in ThreadPoolWorker()
|
H A D | thread_pool.h | 95 ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size);
|
H A D | oat_file_assistant_test.cc | 1314 ThreadPool thread_pool("Oat file assistant test thread pool", kNumThreads); in TEST_F() local 1320 thread_pool.AddTask(self, task.get()); in TEST_F() 1323 thread_pool.StartWorkers(self); in TEST_F() 1324 thread_pool.Wait(self, /* do_work= */ true, /* may_hold_locks= */ false); in TEST_F()
|
H A D | runtime.cc | 3126 std::unique_ptr<ThreadPool> thread_pool; in DeleteThreadPool() local 3130 thread_pool = std::move(thread_pool_); in DeleteThreadPool() 3133 return thread_pool != nullptr; in DeleteThreadPool()
|
H A D | Android.bp | 246 "thread_pool.cc",
|
/aosp12/art/runtime/gc/ |
H A D | task_processor_test.cc | 66 ThreadPool thread_pool("task processor test", 1U); in TEST_F() local 75 thread_pool.AddTask(self, new WorkUntilDoneTask(&task_processor, &done_running)); in TEST_F() 76 thread_pool.StartWorkers(self); in TEST_F() 84 thread_pool.Wait(self, true, false); in TEST_F() 96 thread_pool.AddTask(self, new WorkUntilDoneTask(&task_processor, &done_running)); in TEST_F() 97 thread_pool.StartWorkers(self); in TEST_F() 98 thread_pool.Wait(self, true, false); in TEST_F() 136 ThreadPool thread_pool("task processor test", 1U); in TEST_F() local 139 thread_pool.AddTask(self, new WorkUntilDoneTask(&task_processor, &done_running)); in TEST_F() 141 thread_pool.StartWorkers(self); in TEST_F() [all …]
|
/aosp12/art/runtime/gc/collector/ |
H A D | mark_sweep.cc | 673 MarkStackTask(ThreadPool* thread_pool, in MarkStackTask() argument 678 thread_pool_(thread_pool), in MarkStackTask() 831 CardScanTask(ThreadPool* thread_pool, in CardScanTask() argument 942 thread_pool->AddTask(self, task); in ScanGrayObjects() 951 thread_pool->StartWorkers(self); in ScanGrayObjects() 952 thread_pool->Wait(self, true, true); in ScanGrayObjects() 953 thread_pool->StopWorkers(self); in ScanGrayObjects() 1401 thread_pool->AddTask(self, new MarkStackTask<false>(thread_pool, this, delta, it)); in ProcessMarkStackParallel() 1405 thread_pool->StartWorkers(self); in ProcessMarkStackParallel() 1406 thread_pool->Wait(self, true, true); in ProcessMarkStackParallel() [all …]
|
/aosp12/system/update_engine/payload_generator/ |
H A D | full_update_generator.cc | 183 base::DelegateSimpleThreadPool thread_pool("full-update-generator", in GenerateOperations() local 185 thread_pool.Start(); in GenerateOperations() 187 thread_pool.AddWork(&processor); in GenerateOperations() 188 thread_pool.JoinAll(); in GenerateOperations()
|
H A D | delta_diff_generator.cc | 196 base::DelegateSimpleThreadPool thread_pool{"partition-thread-pool", in GenerateUpdatePayloadFile() local 229 thread_pool.Start(); in GenerateUpdatePayloadFile() 231 thread_pool.AddWork(&processor); in GenerateUpdatePayloadFile() 233 thread_pool.JoinAll(); in GenerateUpdatePayloadFile()
|
H A D | delta_diff_utils.cc | 406 base::DelegateSimpleThreadPool thread_pool("incremental-update-generator", in DeltaReadPartition() local 408 thread_pool.Start(); in DeltaReadPartition() 410 thread_pool.AddWork(&processor); in DeltaReadPartition() 412 thread_pool.JoinAll(); in DeltaReadPartition()
|
/aosp12/art/runtime/gc/space/ |
H A D | large_object_space_test.cc | 164 ThreadPool thread_pool("Large object space test thread pool", kNumThreads); in RaceTest() local 166 thread_pool.AddTask(self, new AllocRaceTask(i, kNumIterations, 16 * KB, los)); in RaceTest() 169 thread_pool.StartWorkers(self); in RaceTest() 171 thread_pool.Wait(self, true, false); in RaceTest()
|
/aosp12/art/tools/jvmti-agents/jit-load/ |
H A D | jitload.cc | 44 auto* thread_pool = jit->GetThreadPool(); in GetJitThread() local 45 if (thread_pool == nullptr) { in GetJitThread() 50 thread_pool->GetWorkers()[0]->GetThread()->GetPeerFromOtherThread()); in GetJitThread()
|
/aosp12/art/dex2oat/driver/ |
H A D | compiler_driver.h | 239 ThreadPool* thread_pool, 259 ThreadPool* thread_pool, 270 ThreadPool* thread_pool,
|
H A D | compiler_driver.cc | 1359 ThreadPool* thread_pool) in ParallelCompilationManager() argument 1366 thread_pool_(thread_pool) {} in ParallelCompilationManager() 1669 ThreadPool* thread_pool, in ResolveDexFile() argument 1678 thread_pool); in ResolveDexFile() 2017 ThreadPool* thread_pool, in VerifyDexFile() argument 2023 thread_pool); in VerifyDexFile() 2087 ThreadPool* thread_pool, in SetVerifiedDexFile() argument 2096 thread_pool); in SetVerifiedDexFile() 2559 ThreadPool* thread_pool, in CompileDexFile() argument 2570 thread_pool); in CompileDexFile()
|
/aosp12/system/bt/build/dpkg/libchrome/debian/ |
H A D | install_headers.sh | 26 base/task/thread_pool
|
/aosp12/system/bt/build/dpkg/libchrome-822064/debian/ |
H A D | install_headers.sh | 26 base/task/thread_pool
|