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()))