return mc_model_checker->get_visited_states();
}
-void Api::mc_exit(int status) const
-{
- mc_model_checker->exit(status);
-}
-
void Api::restore_state(const simgrid::mc::Snapshot* system_state) const
{
system_state->restore(&mc_model_checker->get_remote_process());
// MODEL CHECKER APIs
void mc_inc_visited_states() const;
unsigned long mc_get_visited_states() const;
- XBT_ATTRIB_NORETURN void mc_exit(int status) const;
// STATE APIs
void restore_state(const Snapshot* system_state) const;
XBT_INFO("*********************************************************");
XBT_INFO("%s", send_diff.c_str());
Api::get().get_remote_app().log_state();
- Api::get().mc_exit(SIMGRID_MC_EXIT_NON_DETERMINISM);
+ mc_model_checker->exit(SIMGRID_MC_EXIT_NON_DETERMINISM);
} else if (_sg_mc_comms_determinism && (not send_deterministic && not recv_deterministic)) {
XBT_INFO("****************************************************");
XBT_INFO("***** Non-deterministic communications pattern *****");
if (not recv_diff.empty())
XBT_INFO("%s", recv_diff.c_str());
Api::get().get_remote_app().log_state();
- Api::get().mc_exit(SIMGRID_MC_EXIT_NON_DETERMINISM);
+ mc_model_checker->exit(SIMGRID_MC_EXIT_NON_DETERMINISM);
}
}
}