X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d73456f299cf29a6880fe7b2a7d88ec2fb6123f4..e6ca184e99d50d0ee8fe405a83ee5277e2ecfce6:/src/mc/Process.hpp diff --git a/src/mc/Process.hpp b/src/mc/Process.hpp index 5f2ba9a952..724d068133 100644 --- a/src/mc/Process.hpp +++ b/src/mc/Process.hpp @@ -14,15 +14,12 @@ #include #include -#include - #include #include #include #include -#include #include #ifdef HAVE_MC @@ -217,7 +214,7 @@ public: void ignore_local_variable(const char *var_name, const char *frame_name); int socket() { return socket_; } - simgrid::xbt::DynarRange simix_processes(); + std::vector& simix_processes(); private: void init_memory_map_info(); @@ -302,12 +299,6 @@ public: // Libunwind-data void* unw_underlying_context; }; -// TODO, remove this -#define MC_PROCESS_FOREACH(xs, cursor, p) \ - if (! xs.empty()) \ - for (auto __it = (cursor = 0, p = &*xs.begin(), xs.begin()); \ - __it != xs.end(); ++__it, ++cursor, p = &*__it) - /** Open a FD to a remote process memory (`/dev/$pid/mem`) */ XBT_PRIVATE int open_vm(pid_t pid, int flags);