Commit db734c30 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

disable debug output and include bond cost as well

(cherry picked from commit 9ea86965c57a58c2871ba410fd44b86b008cf2c5)
parent cc776798
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -478,7 +478,8 @@ void Balance::imbalance_clock(double factor)
    for (int i = 0; i <= nprocs; ++i) clock_cost[i] = 0.0;
    cost += timer->get_wall(Timer::PAIR);
    cost += timer->get_wall(Timer::NEIGH);
    if (force->kspace) cost += timer->get_wall(Timer::KSPACE);
    cost += timer->get_wall(Timer::BOND);
    cost += timer->get_wall(Timer::KSPACE);

    clock_cost[me] = cost;
    clock_cost[nprocs] = cost;
@@ -493,7 +494,7 @@ void Balance::imbalance_clock(double factor)
        clock_imbalance[i] = 1.0;
    }

#if 1 // BALANCE_DEBUG    
#if BALANCE_DEBUG
    if (me == 0) {
      printf("clock imbalance scaled using factor %g\n",factor);
      for (int i = 0; i < nprocs; ++i)