X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/28a30c9d25c9555dd21935653d2386653b0f3fe8..f8daec44188cc69bbd5b05a1eebfb813a07ae495:/main.cpp?ds=sidebyside diff --git a/main.cpp b/main.cpp index 12f1ae2..c373553 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,9 @@ 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/avg/dev)", "%g / %g / %g / %g", + convergence.get_min(), convergence.get_max(), + convergence.get_mean(), convergence.get_stddev()); XBT_INFO("`----"); }