Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
s4u: implement Engine::setConfig()
[simgrid.git] / src / s4u / s4u_engine.cpp
index 2e7de0a..0e983e8 100644 (file)
@@ -158,5 +158,9 @@ bool Engine::isInitialized()
 {
   return Engine::instance_ != nullptr;
 }
+void Engine::setConfig(std::string str)
+{
+  xbt_cfg_set_parse(str.c_str());
+}
 }
 } // namespace