X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0c733f453323dea80a94342ae793cd9e830eae54..571ed94e23c9aefbd5f81f1a800eb5f1dddd8ae9:/include/simgrid/s4u/engine.hpp diff --git a/include/simgrid/s4u/engine.hpp b/include/simgrid/s4u/engine.hpp index b81a57f591..2c9fa3cd13 100644 --- a/include/simgrid/s4u/engine.hpp +++ b/include/simgrid/s4u/engine.hpp @@ -47,6 +47,10 @@ public: /** @brief Retrieve the simulation time */ static double getClock(); + /** @brief Retrieve the engine singleton */ + static s4u::Engine *instance(); +private: + static s4u::Engine *instance_; }; }} // namespace simgrid::sgo