Home
last modified time | relevance | path

Searched refs:thread_count (Results 1 – 5 of 5) sorted by relevance

/toolchain/binutils/binutils-2.25/gold/
Dgold.cc196 int thread_count = options.thread_count_initial(); in queue_initial_tasks() local
197 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() local
650 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() local
848 if (thread_count == 0) in queue_final_tasks()
[all …]
Dworkqueue-threads.cc150 Workqueue_threader_threadpool::set_thread_count(int thread_count) in set_thread_count() argument
156 this->desired_thread_count_ = thread_count; in set_thread_count()
Doptions.cc1103 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()
Dworkqueue.cc109 set_thread_count(int thread_count) in set_thread_count() argument
110 { gold_assert(thread_count > 0); } in set_thread_count()
Doptions.h1180 DEFINE_uint(thread_count, options::TWO_DASHES, '\0', 0,