X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fd769219531a772284d75320187a0ef9f8118afd..3db47603316610f1878cb48634c357b75bbbed9d:/src/mc/Process.hpp diff --git a/src/mc/Process.hpp b/src/mc/Process.hpp index cd090fcdc2..a2cef8542e 100644 --- a/src/mc/Process.hpp +++ b/src/mc/Process.hpp @@ -82,6 +82,19 @@ struct IgnoredHeapRegion { }; /** Representation of a process + * + * This class is mixing a lot of differents responsabilities and is tied + * to SIMIX. It should probably split into different classes. + * + * Responsabilities: + * + * - reading from the process memory (`AddressSpace`); + * - accessing the system state of the porcess (heap, …); + * - storing the SIMIX state of the process; + * - privatization; + * - communication with the model-checked process; + * - stack unwinding; + * - etc. */ class Process final : public AddressSpace { public: @@ -215,11 +228,13 @@ public: void ignore_local_variable(const char *var_name, const char *frame_name); int socket() { return socket_; } std::vector& simix_processes(); + std::vector& old_simix_processes(); private: void init_memory_map_info(); void refresh_heap(); void refresh_malloc_info(); + void refresh_simix(); private: pid_t pid_ = -1;