#include "simgrid/kernel/resource/Action.hpp"
#include "simgrid/s4u/Engine.hpp"
#include "simgrid/sg_config.hpp"
-#include "src/include/instr/instr_interface.h"
+#include "src/include/instr/instr_interface.hpp"
#include "src/surf/surf_interface.hpp"
XBT_LOG_NEW_CATEGORY(sd, "Logging specific to SimDag");
surf_init(argc, argv);
- xbt_cfg_setdefault_string("host/model", "ptask_L07");
- if(xbt_cfg_get_boolean("clean-atexit"))
+ simgrid::config::set_default<std::string>("host/model", "ptask_L07");
+ if (simgrid::config::get_value<bool>("clean-atexit"))
atexit(SD_exit);
if (_sg_cfg_exit_asap) {
exit(0);