Searched refs:thread_count (Results 1 – 5 of 5) sorted by relevance
196 int thread_count = options.thread_count_initial(); in queue_initial_tasks() local197 if (thread_count == 0) in queue_initial_tasks()198 thread_count = cmdline.number_of_input_files(); in queue_initial_tasks()199 workqueue->set_thread_count(thread_count); in queue_initial_tasks()649 int thread_count = options.thread_count_middle(); in queue_middle_tasks() local650 if (thread_count == 0) in queue_middle_tasks()651 thread_count = std::max(2, input_objects->number_of_input_objects()); in queue_middle_tasks()652 workqueue->set_thread_count(thread_count); in queue_middle_tasks()847 int thread_count = options.thread_count_final(); in queue_final_tasks() local848 if (thread_count == 0) in queue_final_tasks()[all …]
150 Workqueue_threader_threadpool::set_thread_count(int thread_count) in set_thread_count() argument156 this->desired_thread_count_ = thread_count; in set_thread_count()
1103 if (this->thread_count() > 0 && this->thread_count_initial() == 0) in finalize()1104 this->set_thread_count_initial(this->thread_count()); in finalize()1105 if (this->thread_count() > 0 && this->thread_count_middle() == 0) in finalize()1106 this->set_thread_count_middle(this->thread_count()); in finalize()1107 if (this->thread_count() > 0 && this->thread_count_final() == 0) in finalize()1108 this->set_thread_count_final(this->thread_count()); in finalize()1119 if (this->thread_count() > 0 || this->thread_count_initial() > 0 in finalize()
109 set_thread_count(int thread_count) in set_thread_count() argument110 { gold_assert(thread_count > 0); } in set_thread_count()
1180 DEFINE_uint(thread_count, options::TWO_DASHES, '\0', 0,