A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
normalize s_type class part 3
[simgrid.git]
/
src
/
mc
/
mc_snapshot.cpp
diff --git
a/src/mc/mc_snapshot.cpp
b/src/mc/mc_snapshot.cpp
index
80c0817
..
11dba26
100644
(file)
--- a/
src/mc/mc_snapshot.cpp
+++ b/
src/mc/mc_snapshot.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2014-201
5
. The SimGrid Team.
+/* Copyright (c) 2014-201
7
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* 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 "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"
#include "src/mc/mc_snapshot.h"
#include "src/mc/mc_private.h"
@@
-159,7
+159,7
@@
int MC_snapshot_memcmp(
namespace simgrid {
namespace mc {
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)
: 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
#ifdef SIMGRID_TEST
-#include <
string.h
>
-#include <
stdlib.h
>
+#include <
cstdlib
>
+#include <
cstring
>
#include <sys/mman.h>
#include <sys/mman.h>
@@
-234,7
+234,7
@@
static void test_snapshot(bool sparse_checkpoint) {
xbt_assert(xbt_pagesize == getpagesize());
xbt_assert(1 << xbt_pagebits == xbt_pagesize);
xbt_assert(xbt_pagesize == getpagesize());
xbt_assert(1 << xbt_pagebits == xbt_pagesize);
- std::unique_ptr<simgrid::mc::
Process> process(new simgrid::mc::Process
(getpid(), -1));
+ std::unique_ptr<simgrid::mc::
RemoteClient> process(new simgrid::mc::RemoteClient
(getpid(), -1));
process->init();
mc_model_checker = new ::simgrid::mc::ModelChecker(std::move(process));
process->init();
mc_model_checker = new ::simgrid::mc::ModelChecker(std::move(process));