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] Cleanup mc_hash
[simgrid.git]
/
src
/
mc
/
mc_checkpoint.cpp
diff --git
a/src/mc/mc_checkpoint.cpp
b/src/mc/mc_checkpoint.cpp
index
32f3f99
..
24149db
100644
(file)
--- a/
src/mc/mc_checkpoint.cpp
+++ b/
src/mc/mc_checkpoint.cpp
@@
-611,7
+611,7
@@
mc_snapshot_t MC_take_snapshot(int num_state)
snapshot->stacks =
MC_take_snapshot_stacks(&snapshot);
if (_sg_mc_hash && !snapshot->stacks.empty()) {
snapshot->stacks =
MC_take_snapshot_stacks(&snapshot);
if (_sg_mc_hash && !snapshot->stacks.empty()) {
- snapshot->hash =
mc_hash_processes_state(num_state, snapshot->stacks
);
+ snapshot->hash =
simgrid::mc::hash(*snapshot
);
} else {
snapshot->hash = 0;
}
} else {
snapshot->hash = 0;
}