Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add new entry in Release_Notes.
[simgrid.git] / src / mc / remote / CheckerSide.hpp
index eeaa54e..f4605e4 100644 (file)
@@ -21,9 +21,6 @@ class CheckerSide {
   event* socket_event_;
   event* signal_event_;
   std::unique_ptr<event_base, decltype(&event_base_free)> base_{nullptr, &event_base_free};
-#if SIMGRID_HAVE_MC
-  std::unique_ptr<RemoteProcessMemory> remote_memory_;
-#endif
 
   Channel channel_;
   bool running_ = false;
@@ -33,13 +30,12 @@ class CheckerSide {
   CheckerSide* child_checker_ = nullptr;
 
   void setup_events(bool socket_only); // Part of the initialization
-  void clear_memory_cache();
   void handle_dead_child(int status); // Launched when the dying child is the PID we follow
   void handle_waitpid();              // Launched when receiving a sigchild
 
 public:
   explicit CheckerSide(int socket, CheckerSide* child_checker);
-  explicit CheckerSide(const std::vector<char*>& args, bool need_memory_introspection);
+  explicit CheckerSide(const std::vector<char*>& args);
   ~CheckerSide();
 
   // No copy:
@@ -57,7 +53,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<CheckerSide> clone(int master_socket);
+  std::unique_ptr<CheckerSide> 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);
@@ -66,9 +62,6 @@ public:
   pid_t get_pid() const { return pid_; }
   bool running() const { return running_; }
   void terminate() { running_ = false; }
-#if SIMGRID_HAVE_MC
-  RemoteProcessMemory* get_remote_memory() { return remote_memory_.get(); }
-#endif
 };
 
 } // namespace simgrid::mc