X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1847d1441271d076b3de449c8853031ea208ce8f..2807fde4fd1f59c230d69a934634c5dfb77905f2:/src/mc/PageStore.cpp diff --git a/src/mc/PageStore.cpp b/src/mc/PageStore.cpp index a2e49930c9..5f2d921689 100644 --- a/src/mc/PageStore.cpp +++ b/src/mc/PageStore.cpp @@ -20,7 +20,7 @@ #include "src/mc/PageStore.hpp" -#include "src/mc/mc_mmu.h" +#include "src/mc/mc_mmu.hpp" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_page_snapshot, mc, "Logging specific to mc_page_snapshot"); @@ -155,9 +155,9 @@ std::size_t PageStore::store_page(void* page) xbt_assert(top_index_ <= this->capacity_, "top_index is not consistent"); // First, we check if a page with the same content is already in the page store: - // 1. compute the hash of the page; - // 2. find pages with the same hash using `hash_index_`; - // 3. find a page with the same content. + // 1. compute the hash of the page + // 2. find pages with the same hash using `hash_index_` + // 3. find a page with the same content hash_type hash = mc_hash_page(page); // Try to find a duplicate in set of pages with the same hash: