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

Private GIT Repository
Use a shorter name for function in deployment_generator.
[loba.git] / communicator.cpp
index 83935155dfce1308c380ab567eb80c929698c0a7..e6653ebda4e9acf52d0c5a40acd8e8c4f09f1d61 100644 (file)
@@ -15,11 +15,11 @@ std::string message::to_string()
     static const char* str[] = { "INFO", "CREDIT", "LOAD",
                                  "CTRL_CLOSE", "DATA_CLOSE" };
     std::ostringstream oss;
-    oss << str[type] << " (" << amount << ")";
+    oss << str[type] << ": " << amount;
     return oss.str();
 }
 
-const int communicator::send_count_before_flush = 128;
+const int communicator::send_count_before_flush = 16;
 
 communicator::communicator()
     : host((hostdata* )MSG_host_get_data(MSG_host_self()))