fixing a debug print
authorHarshitha <gplkrsh2@illinois.edu>
Mon, 15 Oct 2012 03:50:22 +0000 (22:50 -0500)
committerHarshitha <gplkrsh2@illinois.edu>
Mon, 15 Oct 2012 03:50:22 +0000 (22:50 -0500)
src/ck-ldb/MetaBalancer.C

index b653cdc3003e0f7953b893081f37ddbc8ec18169..c1c47fca03d46b61c99e200dc8adff2d72e2d4de 100644 (file)
@@ -478,7 +478,8 @@ bool MetaBalancer::generatePlan(int& period, double& ratio_at_t) {
   avg /= adaptive_lbdb.history_data.size();
   double cost = adaptive_struct.lb_strategy_cost + adaptive_struct.lb_migration_cost;
   period = (int) (cost/(max - avg));
-  DEBAD(("Obtained period %d from constant prediction\n", period));
+  DEBAD(("Obtained period %d from constant prediction tolerated \
+                       imbalance(%f)\n", period, tolerate_imb));
   if (period < 0) { 
     period = adaptive_struct.final_lb_period;
     DEBAD(("Obtained -ve period from constant prediction so changing to prev %d\n", period));