Skip to content

Commit

Permalink
#1531: Add label to termination hang prints
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilMiller committed Aug 19, 2021
1 parent dc98da1 commit b2ec40f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vt/termination/termination.cc
Original file line number Diff line number Diff line change
Expand Up @@ -554,10 +554,10 @@ void TerminationDetector::countsConstant(TermStateType& state) {

auto f1 = fmt::format(
"{}Termination counts constant (no progress) for:{} {}traversals={} "
"epoch={:x} produced={}{} {}consumed={}{} rooted={}, ds={}\n",
"epoch={:x} (label '{}') produced={}{} {}consumed={}{} rooted={}, ds={}\n",
bred, reset,
magenta, state.constant_count, state.getEpoch(), state.g_prod1,
reset, magenta, state.g_cons1, reset, is_rooted, useDS
magenta, state.constant_count, state.getEpoch(), state.getLabel(),
state.g_prod1, reset, magenta, state.g_cons1, reset, is_rooted, useDS
);
vt_print(term, "{}", f1);
}
Expand Down

0 comments on commit b2ec40f

Please sign in to comment.