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
[mc] Make Process:cache_flags private
[simgrid.git]
/
src
/
mc
/
mc_checkpoint.cpp
diff --git
a/src/mc/mc_checkpoint.cpp
b/src/mc/mc_checkpoint.cpp
index
99b11bc
..
77d6a73
100644
(file)
--- a/
src/mc/mc_checkpoint.cpp
+++ b/
src/mc/mc_checkpoint.cpp
@@
-42,13
+42,9
@@
using simgrid::mc::remote;
using simgrid::mc::remote;
-extern "C" {
-
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_checkpoint, mc,
"Logging specific to mc_checkpoint");
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_checkpoint, mc,
"Logging specific to mc_checkpoint");
-}
-
namespace simgrid {
namespace mc {
namespace simgrid {
namespace mc {
@@
-607,7
+603,7
@@
void restore_snapshot_regions(mc_snapshot_t snapshot)
s_mc_restore_message message;
message.type = MC_MESSAGE_RESTORE;
message.index = snapshot->privatization_index;
s_mc_restore_message message;
message.type = MC_MESSAGE_RESTORE;
message.index = snapshot->privatization_index;
- mc_model_checker->process().
send_message
(message);
+ mc_model_checker->process().
getChannel().send
(message);
}
#endif
}
}
#endif
}
@@
-642,7
+638,7
@@
void restore_snapshot(mc_snapshot_t snapshot)
if (use_soft_dirty)
mc_model_checker->process().reset_soft_dirty();
snapshot_ignore_restore(snapshot);
if (use_soft_dirty)
mc_model_checker->process().reset_soft_dirty();
snapshot_ignore_restore(snapshot);
- mc_model_checker->process().c
ache_flags = 0
;
+ mc_model_checker->process().c
lear_cache()
;
if (use_soft_dirty)
mc_model_checker->parent_snapshot_ = snapshot;
}
if (use_soft_dirty)
mc_model_checker->parent_snapshot_ = snapshot;
}