X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/e02d85948b5f10d8b37e39ec94d915c48f46a15a..0c4a3402a57c61218bf1d1c6d8c31f5c3e1482f9:/communicator.cpp diff --git a/communicator.cpp b/communicator.cpp index e6653eb..1570b10 100644 --- a/communicator.cpp +++ b/communicator.cpp @@ -1,14 +1,15 @@ -#include "communicator.h" - #include #include #include #include #include + +XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(comm); + #include "misc.h" #include "options.h" -XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(comm); +#include "communicator.h" std::string message::to_string() { @@ -19,7 +20,7 @@ std::string message::to_string() return oss.str(); } -const int communicator::send_count_before_flush = 16; +const int communicator::send_count_before_flush = 4; communicator::communicator() : host((hostdata* )MSG_host_get_data(MSG_host_self()))