initial_snapshot_ = std::make_shared<simgrid::mc::Snapshot>(0);
}
-simgrid::mc::RemotePtr<simgrid::kernel::actor::SimcallObserver> Session::execute(Transition const& transition) const
-{
- simgrid::mc::RemotePtr<simgrid::kernel::actor::SimcallObserver> res = model_checker_->handle_simcall(transition);
- model_checker_->wait_for_requests();
- return res;
-}
-
void Session::restore_initial_state() const
{
this->initial_snapshot_->restore(&model_checker_->get_remote_process());
void close();
void take_initial_snapshot();
- simgrid::mc::RemotePtr<simgrid::kernel::actor::SimcallObserver> execute(Transition const& transition) const;
void log_state() const;
void restore_initial_state() const;
{
textual_ = mc_model_checker->simcall_to_string(aid_, times_considered_);
executed_transitions_++;
- return session_singleton->execute(*this);
+
+ simgrid::mc::RemotePtr<simgrid::kernel::actor::SimcallObserver> res = mc_model_checker->handle_simcall(*this);
+ mc_model_checker->wait_for_requests();
+
+ return res;
}
} // namespace mc
} // namespace simgrid