From: Arnaud Giersch Date: Thu, 10 Feb 2011 21:22:37 +0000 (+0100) Subject: Correct log messages. X-Git-Tag: v0.1~145 X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/00e9c7c4aa9f01d944398d68a05225c7782eb089?ds=sidebyside Correct log messages. lb_iter and comp_iter can now differ, even without bookkeeping. --- diff --git a/process.cpp b/process.cpp index eeb5d8c..e5ba3cd 100644 --- a/process.cpp +++ b/process.cpp @@ -86,11 +86,8 @@ process::~process() XBT_INFO("Final load after %d:%d iterations: %g ; expected: %g", lb_iter, comp_iter, real_load, expected_load); } else { - XBT_INFO("Final load after %d iterations: %g", - lb_iter, real_load); - if (lb_iter != comp_iter) - XBT_WARN("lb_iter (%d) and comp_iter (%d) differ!", - lb_iter, comp_iter); + XBT_INFO("Final load after %d:%d iterations: %g", + lb_iter, comp_iter, real_load); } XBT_VERB("Total computation for this process: %g", comp); }