diff --git a/src/vt/trace/trace_lite.cc b/src/vt/trace/trace_lite.cc index 702c484bcf..b6adddfa6a 100644 --- a/src/vt/trace/trace_lite.cc +++ b/src/vt/trace/trace_lite.cc @@ -296,7 +296,7 @@ void TraceLite::addUserNoteBracketedBeginTime( vt_debug_print( normal, trace, - "Trace::addUserNoteBracketedBeginTime: begin={}, note={}, event={}\n", + "Trace::addUserNoteBracketedBegin: begin={}, note={}, event={}\n", begin, note, event ); @@ -336,11 +336,10 @@ void TraceLite::addUserNoteBracketedEndTime(TraceEventIDType const event) { vt_debug_print( normal, trace, - "Trace::addUserNoteBracketedEndTime: end={}, event={}\n", + "Trace::addUserNoteBracketedEnd: end={}, event={}\n", end, event ); - // Fixup end time of the note if (event != no_trace_event) { updateNoteEndTime(event, end, nullptr); } @@ -356,11 +355,10 @@ void TraceLite::addUserNoteBracketedEndTime( vt_debug_print( normal, trace, - "Trace::addUserNoteBracketedEndTime: end={}, new_note={}, event={}\n", + "Trace::addUserNoteBracketedEnd: end={}, new_note={}, event={}\n", end, new_note, event ); - // Fixup end time of the note if (event != no_trace_event) { updateNoteEndTime(event, end, &new_note); } diff --git a/src/vt/trace/trace_lite.h b/src/vt/trace/trace_lite.h index 48c9d2683a..e5b7ff54d9 100644 --- a/src/vt/trace/trace_lite.h +++ b/src/vt/trace/trace_lite.h @@ -167,7 +167,7 @@ struct TraceLite { void disableTracing(); /** - * \brief Log a bracketed user event with begin time + * \brief Log the start of the bracketed user event * * \param[in] event the ID for the sts file * \param[in] begin the begin time @@ -175,7 +175,7 @@ struct TraceLite { void addUserEventBracketedBeginTime(UserEventIDType event, TimeType begin); /** - * \brief Log a bracketed user event with end time + * \brief Log the end of the bracketed user event * * \param[in] event the ID for the sts file * \param[in] end the end time @@ -183,7 +183,7 @@ struct TraceLite { void addUserEventBracketedEndTime(UserEventIDType event, TimeType end); /** - * \brief Log a user bracketed event with a note + * \brief Log the start of the bracketed user event with a note * * \note See \c TraceScopedNote for a safer scope-based logging mechanism for * bracketed user events with a note. @@ -196,7 +196,7 @@ struct TraceLite { ); /** - * \brief Log a user bracketed event with a note + * \brief Log the end of the bracketed user event with a note * * \note See \c TraceScopedNote for a safer scope-based logging mechanism for * bracketed user events with a note. @@ -206,7 +206,7 @@ struct TraceLite { void addUserNoteBracketedEndTime(TraceEventIDType const event); /** - * \brief Log a user bracketed event with a note + * \brief Log the end of the bracketed user event with a note * * \note See \c TraceScopedNote for a safer scope-based logging mechanism for * bracketed user events with a note. diff --git a/src/vt/trace/trace_user.cc b/src/vt/trace/trace_user.cc index 0cb39fd8d5..325c4784ab 100644 --- a/src/vt/trace/trace_user.cc +++ b/src/vt/trace/trace_user.cc @@ -100,7 +100,7 @@ void addUserNotePre( [[maybe_unused]] TraceEventIDType const in_event ) { #if vt_check_enabled(trace_enabled) - if (in_event != no_user_event_id) { + if (in_event != no_trace_event) { theTrace()->addUserNoteBracketedBeginTime(in_event, in_note); } #endif @@ -111,7 +111,7 @@ void addUserNoteEpi( [[maybe_unused]] TraceEventIDType const in_event ) { #if vt_check_enabled(trace_enabled) - if (in_event != no_user_event_id) { + if (in_event != no_trace_event) { theTrace()->addUserNoteBracketedEndTime(in_event, in_note); } #endif