X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/627857967e297ea0191d97addc4519efbf2d5dc2..c0c7607cc0cb97760a59eb3f40481fbe9469cc0a:/examples/s4u/async-wait/s4u-async-wait.cpp diff --git a/examples/s4u/async-wait/s4u-async-wait.cpp b/examples/s4u/async-wait/s4u-async-wait.cpp index 1a3fb9b9a3..37d6058293 100644 --- a/examples/s4u/async-wait/s4u-async-wait.cpp +++ b/examples/s4u/async-wait/s4u-async-wait.cpp @@ -21,8 +21,8 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_async_wait, "Messages specific for this s4u exa 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;