A last solution is to pass your configuration directly using the C
interface. If you happen to use the MSG interface, this is very easy
-with the MSG_config() function. If you do not use MSG, that's a bit
+with the simgrid::s4u::Engine::setConfig() or MSG_config() functions. If you do not use MSG, that's a bit
more complex, as you have to mess with the internal configuration set
directly as follows. Check the \ref XBT_config "relevant page" for
details on all the functions you can use in this context, \c
/** Returns whether SimGrid was initialized yet -- mostly for internal use */
static bool isInitialized();
+ /** @brief set a configuration variable
+ *
+ * Do --help on any simgrid binary to see the list of currently existing configuration variables (see @ref options).
+ *
+ * Example:
+ * e->setConfig("host/model","ptask_L07");
+ */
+ void setConfig(std::string str);
+
simgrid::kernel::EngineImpl* pimpl;
private: