X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/76a0084bc896c39bbe5748832ef5e7addf680994..84c28d7e6db056de0252dd406bbe8dad68cda16a:/src/mc/sosp/RegionSnapshot.cpp diff --git a/src/mc/sosp/RegionSnapshot.cpp b/src/mc/sosp/RegionSnapshot.cpp index 4088d43a3c..c9388e71bc 100644 --- a/src/mc/sosp/RegionSnapshot.cpp +++ b/src/mc/sosp/RegionSnapshot.cpp @@ -22,19 +22,6 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_RegionSnaphot, mc, "Logging specific to regio namespace simgrid { namespace mc { -/** @brief Take a snapshot of a given region - * - * @param type - * @param start_addr Address of the region in the simulated process - * @param permanent_addr Permanent address of this data (for privatized variables, this is the virtual address of the - * privatized mapping) - * @param size Size of the data* - */ -RegionSnapshot* region(RegionType type, void* start_addr, void* permanent_addr, size_t size) -{ - return new RegionSnapshot(type, start_addr, permanent_addr, size); -} - RegionSnapshot::RegionSnapshot(RegionType region_type, void* start_addr, void* permanent_addr, size_t size) : region_type_(region_type), start_addr_(start_addr), size_(size), permanent_addr_(permanent_addr) {