X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7c71e60dc8020a0a89f5ca36bd6487ed30a749d7..b62260b75442c7bdea403d8a8a7c78beb0fdbad6:/src/mc/sosp/Snapshot.hpp diff --git a/src/mc/sosp/Snapshot.hpp b/src/mc/sosp/Snapshot.hpp index 008334bffc..90af292849 100644 --- a/src/mc/sosp/Snapshot.hpp +++ b/src/mc/sosp/Snapshot.hpp @@ -15,9 +15,8 @@ /** Ignored data * - * Some parts of the snapshot are ignored by zeroing them out: the real - * values is stored here. - * */ + * Some parts of the snapshot are ignored by zeroing them out: the real values is stored here. + */ struct s_mc_snapshot_ignored_data_t { void* start; std::vector data; @@ -56,6 +55,8 @@ using const_mc_snapshot_stack_t = const s_mc_snapshot_stack_t*; namespace simgrid::mc { +using hash_type = std::uint64_t; + class XBT_PRIVATE Snapshot final : public AddressSpace { public: /* Initialization */ @@ -93,6 +94,7 @@ private: void snapshot_stacks(RemoteProcess* process); void handle_ignore(); void ignore_restore() const; + hash_type do_hash() const; }; } // namespace simgrid::mc