]> AND Private Git Repository - loba.git/commitdiff
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Also print average and deviation for times of convergence.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 13 Oct 2011 06:41:00 +0000 (08:41 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 13 Oct 2011 06:41:00 +0000 (08:41 +0200)
main.cpp

index a682dfd9842a278ee2431cefaf25961ce7563ca8..c37355396cc93b135aa8d9bbfb4725fb76dc7b99 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -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("Times of convergence (min/max)", "%g / %g",
-                 convergence.get_min(), 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("`----");
 
     }