/* 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. */
/* 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. */
#include "src/mc/Session.hpp"
#include "src/mc/api.hpp"
#include "src/mc/mc_config.hpp"
#include "src/mc/Session.hpp"
#include "src/mc/api.hpp"
#include "src/mc/mc_config.hpp"
/* Stateful model checking */
if ((_sg_mc_checkpoint > 0 && (num_ % _sg_mc_checkpoint == 0)) || _sg_mc_termination) {
auto snapshot_ptr = api::get().take_snapshot(num_);
/* Stateful model checking */
if ((_sg_mc_checkpoint > 0 && (num_ % _sg_mc_checkpoint == 0)) || _sg_mc_termination) {
auto snapshot_ptr = api::get().take_snapshot(num_);
if (_sg_mc_comms_determinism || _sg_mc_send_determinism) {
copy_incomplete_comm_pattern();
copy_index_comm_pattern();
if (_sg_mc_comms_determinism || _sg_mc_send_determinism) {
copy_incomplete_comm_pattern();
copy_index_comm_pattern();