X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/362d960ec8b54dec4163623e28bf2b6d5bb5c326..b923f24fcb86571011626426f577fe6322094bb3:/src/mc/sosp/RegionSnapshot.cpp diff --git a/src/mc/sosp/RegionSnapshot.cpp b/src/mc/sosp/RegionSnapshot.cpp index 4a506bfd2d..f86a2f3c03 100644 --- a/src/mc/sosp/RegionSnapshot.cpp +++ b/src/mc/sosp/RegionSnapshot.cpp @@ -61,7 +61,7 @@ RegionSnapshot sparse_region(RegionType region_type, void* start_addr, void* per xbt_assert((((uintptr_t)start_addr) & (xbt_pagesize - 1)) == 0, "Start address not at the beginning of a page"); xbt_assert((((uintptr_t)permanent_addr) & (xbt_pagesize - 1)) == 0, "Permanent address not at the beginning of a page"); - size_t page_count = simgrid::mc::mmu::chunkCount(size); + size_t page_count = simgrid::mc::mmu::chunk_count(size); simgrid::mc::ChunkedData page_data(mc_model_checker->page_store(), *process, RemotePtr(permanent_addr), page_count);