X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/28a30c9d25c9555dd21935653d2386653b0f3fe8..861c9cbf206b74f2939f3d2fde70e054ad6fbd92:/main.cpp?ds=inline diff --git a/main.cpp b/main.cpp index 12f1ae2..a682dfd 100644 --- a/main.cpp +++ b/main.cpp @@ -92,7 +92,7 @@ static int simulation_main(int argc, char* argv[]) ctrl_send_count.push(proc->get_ctrl_send_count()); ctrl_recv_count.push(proc->get_ctrl_recv_count()); double c = proc->get_convergence(); - if (c != -1) + if (c != -1.0) convergence.push(c); // Synchronization barrier... @@ -353,8 +353,8 @@ int main(int argc, char* argv[]) "times the total amount of data"); PR_VALUE("Number of hosts that converged", "%u / %u", convergence.get_count(), loads.get_count()); - PR_VALUE("Date of first host convergence", "%g", convergence.get_min()); - PR_VALUE("Date of last host convergence", "%g", convergence.get_max()); + PR_VALUE("Times of convergence (min/max)", "%g / %g", + convergence.get_min(), convergence.get_max()); XBT_INFO("`----"); }