minor changes
authorHarshitha <gplkrsh2@illinois.edu>
Sat, 10 Mar 2012 02:17:01 +0000 (20:17 -0600)
committerHarshitha <gplkrsh2@illinois.edu>
Sat, 10 Mar 2012 02:17:01 +0000 (20:17 -0600)
src/ck-ldb/CentralLB.C

index ee217edfcdf2b77eac881a9fc58e209a445dc56e..d191df3e7ed784abcbbc1e03946fd0888f19942a 100644 (file)
@@ -431,7 +431,7 @@ void CentralLB::ReceiveMinStats(CkReductionMsg *msg) {
       adaptive_struct.lb_period_informed = true;
       adaptive_struct.in_progress = true;
       CkPrintf("Informing everyone the lb period is %d\n",
-          adaptive_struct.lb_calculated_period)
+          adaptive_struct.lb_calculated_period);
       thisProxy.LoadBalanceDecision(adaptive_struct.lb_msg_send_no++, adaptive_struct.lb_calculated_period);
     }
     return;
@@ -448,7 +448,7 @@ void CentralLB::ReceiveMinStats(CkReductionMsg *msg) {
       adaptive_struct.in_progress = true;
       adaptive_struct.lb_period_informed = true;
       CkPrintf("Informing everyone the lb period is %d\n",
-          adaptive_struct.lb_calculated_period)
+          adaptive_struct.lb_calculated_period);
       thisProxy.LoadBalanceDecision(adaptive_struct.lb_msg_send_no++, adaptive_struct.lb_calculated_period);
     }
   }
@@ -625,6 +625,7 @@ void CentralLB::ReceiveIterationNo(int req_no, int local_iter_no) {
   if (CkNumPes() == adaptive_struct.global_recv_iter_counter) {
     adaptive_struct.lb_ideal_period = (adaptive_struct.lb_ideal_period > adaptive_struct.global_max_iter_no) ? adaptive_struct.lb_ideal_period : adaptive_struct.global_max_iter_no + 1;
     thisProxy.LoadBalanceDecisionFinal(req_no, adaptive_struct.lb_ideal_period);
+    CkPrintf("Final lb_period %d\n", adaptive_struct.lb_ideal_period);
     adaptive_struct.in_progress = false;
     adaptive_struct.global_max_iter_no = 0;
     adaptive_struct.global_recv_iter_counter = 0;