@@ -65,7 +65,7 @@ class pusch_processor_result_notifier_adaptor : public pusch_processor_result_no
6565 void wait_for_completion ()
6666 {
6767 while (!completed.load ()) {
68- std::this_thread::sleep_for (std::chrono::microseconds (10 ));
68+ std::this_thread::sleep_for (std::chrono::microseconds (1 ));
6969 }
7070 }
7171
@@ -126,7 +126,7 @@ static dmrs_type dmrs = dmrs_typ
126126static unsigned nof_cdm_groups_without_data = 2 ;
127127static bounded_bitset<MAX_NSYMB_PER_SLOT> dmrs_symbol_mask =
128128 {false , false , true , false , false , false , false , false , false , false , false , false , false , false };
129- static unsigned nof_pusch_decoder_threads = 8 ;
129+ static unsigned nof_pusch_decoder_threads = 0 ;
130130static std::unique_ptr<task_worker_pool<concurrent_queue_policy::locking_mpmc>> worker_pool = nullptr ;
131131static std::unique_ptr<task_worker_pool_executor<concurrent_queue_policy::locking_mpmc>> executor = nullptr ;
132132
@@ -688,7 +688,7 @@ static void thread_process(pusch_processor& proc,
688688 // Wait for pending to non-negative.
689689 while (pending_count.load () <= 0 ) {
690690 // Sleep.
691- std::this_thread::sleep_for (std::chrono::microseconds (10 ));
691+ std::this_thread::sleep_for (std::chrono::microseconds (1 ));
692692
693693 // Quit if signaled.
694694 if (thread_quit) {
@@ -843,7 +843,7 @@ int main(int argc, char** argv)
843843
844844 // Wait for finish thread init.
845845 while (pending_count.load () != -static_cast <int >(nof_threads)) {
846- std::this_thread::sleep_for (std::chrono::microseconds (10 ));
846+ std::this_thread::sleep_for (std::chrono::microseconds (1 ));
847847 }
848848
849849 // Calculate the peak throughput, considering that the number of bits is for a slot.
@@ -869,7 +869,7 @@ int main(int argc, char** argv)
869869
870870 // Wait for finish.
871871 while (finish_count.load () != (nof_threads * batch_size_per_thread)) {
872- std::this_thread::sleep_for (std::chrono::milliseconds (10 ));
872+ std::this_thread::sleep_for (std::chrono::milliseconds (1 ));
873873 }
874874 });
875875
0 commit comments