Commit 968c2b9 1 parent 3ef3e3b commit 968c2b9 Copy full SHA for 968c2b9
File tree 1 file changed +3
-2
lines changed
src/vt/vrt/collection/balance/lb_invoke
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -667,7 +667,8 @@ void LBManager::commitPhaseStatistics(PhaseType phase) {
667
667
}
668
668
669
669
#if vt_check_enabled(trace_enabled)
670
- theTrace ()->addUserEventBracketedBegin (1 );
670
+ auto write_lb_stats_event = theTrace ()->registerUserEventColl (" write_lb_stats" );
671
+ theTrace ()->addUserEventBracketedBegin (write_lb_stats_event);
671
672
#endif
672
673
673
674
vt_debug_print (
@@ -688,7 +689,7 @@ void LBManager::commitPhaseStatistics(PhaseType phase) {
688
689
writer->commitStaged ();
689
690
690
691
#if vt_check_enabled(trace_enabled)
691
- theTrace ()->addUserEventBracketedEnd (1 );
692
+ theTrace ()->addUserEventBracketedEnd (write_lb_stats_event );
692
693
#endif
693
694
}
694
695
You can’t perform that action at this time.
0 commit comments