X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6a908b79ea45f85f305620c09375b72483b7eee9..df9f711468e4a9eb4a387acac8859003a7177bcf:/src/mc/remote/CheckerSide.hpp diff --git a/src/mc/remote/CheckerSide.hpp b/src/mc/remote/CheckerSide.hpp index a3cb6a6eda..d89f7121f6 100644 --- a/src/mc/remote/CheckerSide.hpp +++ b/src/mc/remote/CheckerSide.hpp @@ -21,7 +21,9 @@ class CheckerSide { event* socket_event_; event* signal_event_; std::unique_ptr base_{nullptr, &event_base_free}; +#if SIMGRID_HAVE_STATEFUL_MC std::unique_ptr remote_memory_; +#endif Channel channel_; bool running_ = false; @@ -55,7 +57,7 @@ public: void wait_for_requests(); /* Create a new CheckerSide by forking the currently existing one, and connect it through the master_socket */ - std::unique_ptr clone(int master_socket); + std::unique_ptr clone(int master_socket, const std::string& master_socket_name); /** Ask the application to run post-mortem analysis, and maybe to stop ASAP */ void finalize(bool terminate_asap = false); @@ -64,7 +66,9 @@ public: pid_t get_pid() const { return pid_; } bool running() const { return running_; } void terminate() { running_ = false; } +#if SIMGRID_HAVE_STATEFUL_MC RemoteProcessMemory* get_remote_memory() { return remote_memory_.get(); } +#endif }; } // namespace simgrid::mc