From 1f1654801b021f79ab05c5a9d0dddc766c423d17 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Fri, 25 Feb 2011 15:54:39 +0100 Subject: [PATCH] Minor cleanups. --- loba_fairstrategy.cpp | 5 +---- loba_makhoul.cpp | 1 - loba_makhoul2.cpp | 1 - 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/loba_fairstrategy.cpp b/loba_fairstrategy.cpp index 5530f5a..4054729 100644 --- a/loba_fairstrategy.cpp +++ b/loba_fairstrategy.cpp @@ -6,14 +6,11 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(loba); void loba_fairstrategy::load_balance() { - const double delta = 0.001; - pneigh_sort_by_load(std::greater()); - print_loads_p(false, xbt_log_priority_debug); + const double delta = 0.001; bool found = true; - while (found) { found = false; for (unsigned i = 0 ; i < pneigh.size() ; ++i) { diff --git a/loba_makhoul.cpp b/loba_makhoul.cpp index fc25653..cfc9483 100644 --- a/loba_makhoul.cpp +++ b/loba_makhoul.cpp @@ -7,7 +7,6 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(loba); void loba_makhoul::load_balance() { pneigh_sort_by_load(std::less()); - print_loads_p(false, xbt_log_priority_debug); double alpha = 1.0 / (pneigh.size() + 1.0); diff --git a/loba_makhoul2.cpp b/loba_makhoul2.cpp index d0cf20a..e6f629d 100644 --- a/loba_makhoul2.cpp +++ b/loba_makhoul2.cpp @@ -9,7 +9,6 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(loba); void loba_makhoul2::load_balance() { pneigh_sort_by_load(std::less()); - print_loads_p(false, xbt_log_priority_debug); double alpha = 1.0 / (pneigh.size() + 1.0); -- 2.39.5