Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Clean leftovers
[simgrid.git] / src / mc / remote / RemoteProcess.hpp
index 3fd75d8..b9dca02 100644 (file)
@@ -1,6 +1,6 @@
 /* mc::RemoteClient: representative of the Client memory on the MC side */
 
-/* Copyright (c) 2008-2022. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2008-2023. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -8,8 +8,8 @@
 #ifndef SIMGRID_MC_PROCESS_H
 #define SIMGRID_MC_PROCESS_H
 
-#include "mc/datatypes.h"
 #include "src/mc/AddressSpace.hpp"
+#include "src/mc/datatypes.h"
 #include "src/mc/inspect/ObjectInformation.hpp"
 #include "src/mc/remote/RemotePtr.hpp"
 #include "src/xbt/memory_map.hpp"
@@ -71,7 +71,7 @@ private:
 public:
   explicit RemoteProcess(pid_t pid);
   ~RemoteProcess() override;
-  void init(xbt_mheap_t mmalloc_default_mdp, unsigned long* maxpid);
+  void init(xbt_mheap_t mmalloc_default_mdp);
 
   RemoteProcess(RemoteProcess const&) = delete;
   RemoteProcess(RemoteProcess&&)      = delete;
@@ -159,16 +159,6 @@ public:
 
   void ignore_local_variable(const char* var_name, const char* frame_name) const;
 
-  /* ***************** */
-  /* SIMIX-related API */
-  /* ***************** */
-private:
-  // Cache the address of the variables we read directly in the memory of remote
-  RemotePtr<unsigned long> maxpid_addr_;
-
-public:
-  unsigned long get_maxpid() const { return this->read(maxpid_addr_); }
-
   void dump_stack() const;
 
 private: