-/* Copyright (c) 2010-2017. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2010-2018. 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. */
void jedule_sd_init()
{
- sg_netzone_t root_comp = simgrid::s4u::Engine::getInstance()->getNetRoot();
- XBT_DEBUG("root name %s\n", root_comp->getCname());
+ sg_netzone_t root_comp = simgrid::s4u::Engine::get_instance()->get_netzone_root();
+ XBT_DEBUG("root name %s\n", root_comp->get_cname());
my_jedule = new simgrid::jedule::Jedule();
- jed_container_t root_container = new simgrid::jedule::Container(std::string(root_comp->getCname()));
+ jed_container_t root_container = new simgrid::jedule::Container(std::string(root_comp->get_cname()));
root_container->createHierarchy(root_comp);
my_jedule->root_container = root_container;
}