X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6721094a6e5bc535c446266801f713c9e99ac968..b2852b7c61948f495d7437ffaa7fd9aced12849c:/src/kernel/EngineImpl.hpp diff --git a/src/kernel/EngineImpl.hpp b/src/kernel/EngineImpl.hpp index ab1ea0711f..149c0c2a36 100644 --- a/src/kernel/EngineImpl.hpp +++ b/src/kernel/EngineImpl.hpp @@ -16,10 +16,10 @@ #include "src/kernel/activity/ExecImpl.hpp" #include "src/kernel/activity/IoImpl.hpp" #include "src/kernel/activity/MailboxImpl.hpp" +#include "src/kernel/activity/MessageQueueImpl.hpp" #include "src/kernel/activity/SleepImpl.hpp" #include "src/kernel/activity/Synchro.hpp" #include "src/kernel/actor/ActorImpl.hpp" -#include "src/kernel/resource/SplitDuplexLinkImpl.hpp" #include #include @@ -34,6 +34,7 @@ namespace simgrid::kernel { class EngineImpl { std::unordered_map netpoints_; std::unordered_map mailboxes_; + std::unordered_map mqueues_; std::unordered_map registered_functions; // Maps function names to actor code actor::ActorCodeFactory default_function; // Function to use as a fallback when the provided name matches nothing @@ -58,6 +59,7 @@ class EngineImpl { friend s4u::Engine; std::vector cmdline_; // Copy of the argv we got (including argv[0]) + public: EngineImpl() = default; @@ -151,10 +153,6 @@ public: void display_all_actor_status() const; void run_all_actors(); - /* @brief Finish simulation initialization - * This function must be called before the first call to solve() - */ - void presolve() const; /** @brief Performs a part of the simulation * @param max_date Maximum date to update the simulation to, or -1 * @return the elapsed time, or -1.0 if no event could be executed