@@ -299,7 +299,7 @@ void PhaseManager::printSummary(vrt::collection::lb::PhaseInfo* last_phase_info)
299
299
auto const total_time = timing::getCurrentTime () - start_time_;
300
300
vt_print (
301
301
phase,
302
- " phase={}, duration={}, rank_max_compute_time={}, rank_avg_compute_time={}, imbalance={:.3f }, "
302
+ " phase={}, duration={}, rank_max_compute_time={}, rank_avg_compute_time={}, imbalance={:.4f }, "
303
303
" grain_max_time={}, migration count={}, lb_name={}\n " ,
304
304
last_phase_info->phase ,
305
305
total_time,
@@ -311,14 +311,16 @@ void PhaseManager::printSummary(vrt::collection::lb::PhaseInfo* last_phase_info)
311
311
lb_name
312
312
);
313
313
314
- vt_debug_print (
315
- terse, phase,
316
- " POST phase={}, rank_max_compute_time={}, rank_avg_compute_time={}, imbalance={:.3f}\n " ,
317
- last_phase_info->phase ,
318
- TimeType (last_phase_info->max_load_post_lb ),
319
- TimeType (last_phase_info->avg_load_post_lb ),
320
- last_phase_info->imb_load_post_lb
321
- );
314
+ if (last_phase_info->migration_count > 0 ) {
315
+ vt_debug_print (
316
+ terse, phase,
317
+ " POST phase={}, rank_max_compute_time={}, rank_avg_compute_time={}, imbalance={:.4f}\n " ,
318
+ last_phase_info->phase ,
319
+ TimeType (last_phase_info->max_load_post_lb ),
320
+ TimeType (last_phase_info->avg_load_post_lb ),
321
+ last_phase_info->imb_load_post_lb
322
+ );
323
+ }
322
324
323
325
auto compute_speedup = [](double t1, double t2) -> double {
324
326
return t1 / t2;
0 commit comments