X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/00e79d1291f14583564ed0eba2d5e56ee30bf7d3..db93bfcc458411f563c4cb4569a6ef26e6f710e8:/src/mc/sosp/Region.hpp diff --git a/src/mc/sosp/Region.hpp b/src/mc/sosp/Region.hpp index 01af81cadf..cf7b748577 100644 --- a/src/mc/sosp/Region.hpp +++ b/src/mc/sosp/Region.hpp @@ -35,7 +35,7 @@ private: ChunkedData chunks_; public: - Region(PageStore& store, RegionType type, void* start_addr, size_t size); + Region(PageStore& store, RemoteProcessMemory& memory, RegionType type, void* start_addr, size_t size); Region(Region const&) = delete; Region& operator=(Region const&) = delete; Region(Region&& that) = delete; @@ -58,7 +58,7 @@ public: bool contain(RemotePtr p) const { return p >= start() && p < end(); } /** @brief Restore a region from a snapshot */ - void restore() const; + void restore(RemoteProcessMemory& memory) const; /** @brief Read memory that was snapshotted in this region *