X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a92d7b716f51a53dea7f59db8524d4add713b910..34ee0d36886596c4a93a84fae7b70c7ae8edb3e9:/src/mc/mc_snapshot.cpp diff --git a/src/mc/mc_snapshot.cpp b/src/mc/mc_snapshot.cpp index 80c0817be5..11dba265f6 100644 --- a/src/mc/mc_snapshot.cpp +++ b/src/mc/mc_snapshot.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2014-2015. The SimGrid Team. +/* Copyright (c) 2014-2017. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -13,7 +13,7 @@ #include "xbt/sysdep.h" #include "src/internal_config.h" -#include "src/smpi/private.h" +#include "src/smpi/include/private.h" #include "src/mc/mc_snapshot.h" #include "src/mc/mc_private.h" @@ -159,7 +159,7 @@ int MC_snapshot_memcmp( namespace simgrid { namespace mc { -Snapshot::Snapshot(Process* process, int _num_state) +Snapshot::Snapshot(RemoteClient* process, int _num_state) : AddressSpace(process) , num_state(_num_state) , heap_bytes_used(0) @@ -196,8 +196,8 @@ const void* Snapshot::read_bytes(void* buffer, std::size_t size, #ifdef SIMGRID_TEST -#include -#include +#include +#include #include @@ -234,7 +234,7 @@ static void test_snapshot(bool sparse_checkpoint) { xbt_assert(xbt_pagesize == getpagesize()); xbt_assert(1 << xbt_pagebits == xbt_pagesize); - std::unique_ptr process(new simgrid::mc::Process(getpid(), -1)); + std::unique_ptr process(new simgrid::mc::RemoteClient(getpid(), -1)); process->init(); mc_model_checker = new ::simgrid::mc::ModelChecker(std::move(process));