]> AND Private Git Repository - loba.git/blobdiff - deployment.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Bug fix: we really need to consume all messages in proc::receive!
[loba.git] / deployment.cpp
index 43505db780c6b35e22f8aa3ccba5170fd285441a..29de927fa45566845a2ea899e311b0674e210973 100644 (file)
@@ -1,14 +1,15 @@
-#include "deployment.h"
-
 #include <iomanip>
 #include <sstream>
 #include <msg/msg.h>
 #include <xbt/dynar.h>
 #include <xbt/log.h>
+
+XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(depl);
+
 #include "hostdata.h"
 #include "options.h"
 
-XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(depl);
+#include "deployment.h"
 
 void MY_launch_application()
 {
@@ -43,7 +44,7 @@ void deployment_generator::set_link(int host1, int host2)
 
 void deployment_generator::deploy()
 {
-    const char* func = "simulation_main";
+    const char* func = "loba";
     xbt_dynar_t args = xbt_dynar_new(sizeof(const char*), NULL);
     for (unsigned i = 0 ; i < hosts.size() ; ++i) {
         const char* hostname = hostdata::at(i).get_name();