static void sender(int argc, char* argv[])
{
xbt_assert(argc == 4, "Expecting 3 parameters from the XML deployment file but got %d", argc);
- long messages_count = xbt_str_parse_int(argv[1], "Invalid amount of tasks: %s");
- long msg_size = xbt_str_parse_int(argv[2], "Invalid communication size: %s");
+ long messages_count = xbt_str_parse_int(argv[1], "Invalid message count: %s");
+ long msg_size = xbt_str_parse_int(argv[2], "Invalid message size: %s");
long receivers_count = xbt_str_parse_int(argv[3], "Invalid amount of receivers: %s");
/* Array in which we store all ongoing communications */
simgrid_load_deployment(argv[2]);
simgrid_run();
-
XBT_INFO("Simulation time %g", simgrid_get_clock());
return 0;