X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8bc85164acb335cf909052b966b2ee4932e06cd7..d89ca681772fdaafdd69049d4d66676a4e98de38:/src/mc/Session.hpp diff --git a/src/mc/Session.hpp b/src/mc/Session.hpp index 7934ec0e58..c962d1f403 100644 --- a/src/mc/Session.hpp +++ b/src/mc/Session.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2016-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2016-2022. 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. */ @@ -8,6 +8,7 @@ #include "simgrid/forward.h" #include "src/mc/ModelChecker.hpp" +#include "src/mc/remote/RemotePtr.hpp" #include @@ -44,8 +45,8 @@ public: ~Session(); void close(); - void initialize(); - void execute(Transition const& transition) const; + void take_initial_snapshot(); + simgrid::mc::RemotePtr execute(Transition const& transition) const; void log_state() const; void restore_initial_state() const; @@ -53,8 +54,7 @@ public: }; // Temporary :) -extern simgrid::mc::Session* session; - +extern simgrid::mc::Session* session_singleton; } }