Skip to content

Commit

Permalink
#2223: phase: improve phase summary on phase zero
Browse files Browse the repository at this point in the history
  • Loading branch information
nlslatt committed Nov 30, 2023
1 parent 2e81943 commit acd2f35
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/vt/phase/phase_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -395,14 +395,15 @@ void PhaseManager::printSummary(vrt::collection::lb::PhaseInfo* last_phase_info)
}
}
}
} else if (last_phase_info->phase == 0) {
// ran the lb on a phase that may have included initialization costs
vt_print(
phase,
"Consider skipping LB on phase 0 if it is not representative of "
"future phases\n"
);
} else {
if (last_phase_info->phase == 0) {
// ran the lb on a phase that may have included initialization costs
vt_print(
phase,
"Consider skipping LB on phase 0 if it is not representative of "
"future phases\n"
);
}
if (last_phase_info->migration_count > 0) {
auto speedup = compute_speedup(
last_phase_info->max_load, last_phase_info->max_load_post_lb
Expand Down

0 comments on commit acd2f35

Please sign in to comment.