From: Arnaud Giersch Date: Sat, 21 Oct 2017 20:42:41 +0000 (+0200) Subject: Kill dead code. X-Git-Tag: v3.18~399^2~7 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/45804489f80c36a93f99118d425686131680fa22?ds=sidebyside Kill dead code. --- diff --git a/src/kernel/context/ContextRaw.cpp b/src/kernel/context/ContextRaw.cpp index 5695d19728..9351c54814 100644 --- a/src/kernel/context/ContextRaw.cpp +++ b/src/kernel/context/ContextRaw.cpp @@ -58,7 +58,6 @@ public: void_pfn_smxprocess_t cleanup, smx_actor_t process) override; void run_all() override; private: - void run_all_adaptative(); void run_all_serial(); void run_all_parallel(); }; @@ -448,20 +447,4 @@ void RawContext::resume_parallel() #endif } -/** @brief Resumes all processes ready to run. */ -void RawContextFactory::run_all_adaptative() -{ - unsigned long nb_processes = simix_global->process_to_run.size(); - if (SIMIX_context_is_parallel() && - static_cast(SIMIX_context_get_parallel_threshold()) < nb_processes) { - raw_context_parallel = true; - XBT_DEBUG("Runall // %lu", nb_processes); - this->run_all_parallel(); - } else { - XBT_DEBUG("Runall serial %lu", nb_processes); - raw_context_parallel = false; - this->run_all_serial(); - } -} - }}}