Home
last modified time | relevance | path

Searched refs:max_tasks (Results 1 – 7 of 7) sorted by relevance

/external/libchrome/base/task_scheduler/
Dtask_scheduler_impl.cc144 1, std::min(init_params.background_worker_pool_params.max_tasks(), in Start()
145 init_params.foreground_worker_pool_params.max_tasks() / 2)); in Start()
153 init_params.background_blocking_worker_pool_params.max_tasks(), in Start()
154 init_params.foreground_blocking_worker_pool_params.max_tasks() / 2)); in Start()
164 init_params.background_worker_pool_params.max_tasks(), in Start()
169 init_params.background_blocking_worker_pool_params.max_tasks(), in Start()
Dscheduler_worker_pool_params.cc10 int max_tasks, in SchedulerWorkerPoolParams() argument
13 : max_tasks_(max_tasks), in SchedulerWorkerPoolParams()
Dscheduler_worker_pool_params.h22 int max_tasks,
30 int max_tasks() const { return max_tasks_; } in max_tasks() function
Dscheduler_worker_pool_impl_unittest.cc104 size_t max_tasks) { in StartWorkerPool() argument
107 SchedulerWorkerPoolParams(max_tasks, suggested_reclaim_time), max_tasks, in StartWorkerPool()
113 size_t max_tasks) { in CreateAndStartWorkerPool() argument
115 StartWorkerPool(suggested_reclaim_time, max_tasks); in CreateAndStartWorkerPool()
327 size_t max_tasks) override { in StartWorkerPool() argument
330 SchedulerWorkerPoolParams(max_tasks, suggested_reclaim_time), max_tasks, in StartWorkerPool()
562 const auto max_tasks = worker_pool_->GetMaxTasksForTesting(); in FloodPool() local
566 max_tasks, in FloodPool()
568 for (size_t i = 0; i < max_tasks; ++i) { in FloodPool()
1051 size_t max_tasks = worker_pool_->GetMaxTasksForTesting(); in ExpectMaxTasksIncreasesTo() local
[all …]
Dscheduler_worker_pool_impl.cc214 max_tasks_ = params.max_tasks(); in Start()
/external/gemmlowp/meta/
Dlegacy_multi_thread_common.h83 void PrepareTasks(std::int32_t max_tasks, std::int32_t m, std::int32_t n, in PrepareTasks() argument
91 1, std::min(max_tasks, std::min(max_tasks_by_size, max_tasks_dimension))); in PrepareTasks()
/external/llvm-project/clang-tools-extra/clang-tidy/tool/
Dclang-tidy-diff.py86 def start_workers(max_tasks, tidy_caller, task_queue, lock, timeout): argument
87 for _ in range(max_tasks):