The snapshot was not taken anymore.
int modelcheck_safety(void);
struct XBT_PRIVATE VisitedState {
- simgrid::mc::Snapshot* system_state;
- size_t heap_bytes_used;
- int nb_processes;
- int num;
- int other_num; // dot_output for
+ simgrid::mc::Snapshot* system_state = nullptr;
+ size_t heap_bytes_used = 0;
+ int nb_processes = 0;
+ int num = 0;
+ int other_num = 0; // dot_output for
VisitedState();
~VisitedState();
this->nb_processes =
mc_model_checker->process().simix_processes().size();
+ this->system_state = simgrid::mc::take_snapshot(mc_stats->expanded_states);
this->num = mc_stats->expanded_states;
this->other_num = -1;
}