#include <vector>
#include <memory>
-#include <boost/range/iterator_range.hpp>
-
#include <sys/types.h>
#include <simgrid_config.h>
#include <xbt/base.h>
#include <xbt/dynar.h>
-#include <xbt/dynar.hpp>
#include <xbt/mmalloc.h>
#ifdef HAVE_MC
void ignore_local_variable(const char *var_name, const char *frame_name);
int socket() { return socket_; }
- simgrid::xbt::DynarRange<s_mc_smx_process_info> simix_processes();
+ std::vector<simgrid::mc::SimixProcessInformation>& simix_processes();
private:
void init_memory_map_info();
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);