-/* Copyright (c) 2007-2022. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2007-2023. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/** 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<char> data;
namespace simgrid::mc {
+using hash_type = std::uint64_t;
+
class XBT_PRIVATE Snapshot final : public AddressSpace {
public:
/* Initialization */
void snapshot_stacks(RemoteProcess* process);
void handle_ignore();
void ignore_restore() const;
+ hash_type do_hash() const;
};
} // namespace simgrid::mc