- if (opt::bookkeeping) {
- 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);
- }
+ if (opt::log_rate < 0)
+ return;
+ XBT_INFO("Final load after %d:%d iterations: %g",
+ lb_iter, comp_iter, real_load);
+ XBT_VERB("Expected load was: %g", expected_load);