From 00e9c7c4aa9f01d944398d68a05225c7782eb089 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 10 Feb 2011 22:22:37 +0100 Subject: [PATCH] Correct log messages. lb_iter and comp_iter can now differ, even without bookkeeping. --- process.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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); } -- 2.39.5