X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/c86e5ff42db3495538c8b48cb7ea0943a13702b7..c36d15fa17cb573585e0b3841b89420b56bf18a4:/deployment.cpp?ds=inline diff --git a/deployment.cpp b/deployment.cpp index 5659db6..70bd8b3 100644 --- a/deployment.cpp +++ b/deployment.cpp @@ -59,7 +59,7 @@ void deployment_generator::deploy() XBT_DEBUG("%s/neighbor -> \"%s\"", hostname, neighbor_name); xbt_dynar_push_as(args, const char*, neighbor_name); } - MSG_set_function(hostname, "loba", args); + MSG_set_function(hostname, "compute", args); xbt_dynar_reset(args); } xbt_dynar_free(&args); @@ -138,9 +138,8 @@ void deployment_torus::generate() // here width == ceil(sqrt(size)) unsigned first_on_last_line = (size() - 1) - (size() - 1) % width; - XBT_DEBUG("torus size = %u ; width = %u ; height = %u ; foll = %u", - (unsigned )size(), width, - (unsigned )(size() / width + !!(size() % width)), + XBT_DEBUG("torus size = %zu ; width = %u ; height = %zu ; foll = %u", + size(), width, size() / width + !!(size() % width), first_on_last_line); for (unsigned i = 0; i < size(); i++) { unsigned next_line;