Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use already defined namespace alias 'sg4'.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 18 Feb 2021 20:53:58 +0000 (21:53 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 19 Feb 2021 09:19:02 +0000 (10:19 +0100)
teshsuite/models/ptask_L07/ptask_L07.cpp
teshsuite/s4u/basic-parsing-test/basic-parsing-test.cpp

index 6c39cb7..ca7d353 100644 (file)
@@ -279,9 +279,9 @@ static void main_dispatcher()
 
 int main(int argc, char** argv)
 {
-  simgrid::s4u::Engine engine(&argc, argv);
+  sg4::Engine engine(&argc, argv);
   engine.load_platform(argv[1]);
-  simgrid::s4u::Actor::create("dispatcher", simgrid::s4u::Host::by_name("cpu0"), main_dispatcher);
+  sg4::Actor::create("dispatcher", sg4::Host::by_name("cpu0"), main_dispatcher);
   engine.run();
 
   return 0;
index 24705bb..e195f7b 100644 (file)
@@ -59,13 +59,13 @@ static void test_full_link(const std::vector<sg4::Host*> hosts)
 
 int main(int argc, char** argv)
 {
-  simgrid::s4u::Engine e(&argc, argv);
+  sg4::Engine e(&argc, argv);
 
   /* creation of the environment */
   e.load_platform(argv[1]);
   XBT_INFO("Workstation number: %zu, link number: %zu", e.get_host_count(), e.get_link_count());
 
-  std::vector<simgrid::s4u::Host*> hosts = e.get_all_hosts();
+  std::vector<sg4::Host*> hosts = e.get_all_hosts();
   if (argc >= 3) {
     if (!strcmp(argv[2], "ONE_LINK"))
       test_one_link(hosts);