#include <sstream>
#include <msg/msg.h>
#include <xbt/log.h>
-#include "simgrid_features.h"
#include "misc.h"
#include "options.h"
void communicator::send(const char* dest, message* msg)
{
+ DEBUG2("send %s to %s", msg->to_string().c_str(), dest);
double msg_size = sizeof *msg;
if (msg->get_type() == message::LOAD)
msg_size += opt::comm_cost(msg->get_amount());
}
} while (restart);
+ if (msg)
+ DEBUG2("received %s from %s",
+ msg->to_string().c_str(), MSG_host_get_name(from));
+
return msg != NULL;
}