static void sender(int argc, char** argv)
{
xbt_assert(argc == 3, "Expecting 2 parameters from the XML deployment file but got %d", argc);
- long messages_count = std::stol(argv[1]); /* - number of tasks */
- double msg_size = std::stod(argv[2]); /* - communication cost in bytes */
+ long messages_count = std::stol(argv[1]); /* - number of messages */
+ double msg_size = std::stod(argv[2]); /* - message size in bytes */
double sleep_start_time = 5.0;
double sleep_test_time = 0;
}
/* Receiver actor expects 1 argument: its ID */
-static void receiver(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char** argv)
+static void receiver(int, char**)
{
double sleep_start_time = 1.0;
double sleep_test_time = 0.1;