diff options
Diffstat (limited to 'Carpet/CarpetInterp2/src/fasterp.cc')
-rw-r--r-- | Carpet/CarpetInterp2/src/fasterp.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Carpet/CarpetInterp2/src/fasterp.cc b/Carpet/CarpetInterp2/src/fasterp.cc index 3d3ac530a..12c8c6678 100644 --- a/Carpet/CarpetInterp2/src/fasterp.cc +++ b/Carpet/CarpetInterp2/src/fasterp.cc @@ -1622,7 +1622,7 @@ namespace CarpetInterp2 { if (interp_barrier) { - static Timers::Timer barrier_timer ("Barrier"); + static Timers::Timer barrier_timer ("PreBarrier",0,true); barrier_timer.start(); CCTK_Barrier(cctkGH); barrier_timer.stop(); @@ -1825,6 +1825,15 @@ namespace CarpetInterp2 { #endif waitall_is_timer.stop(); + + if (interp_barrier) + { + static Timers::Timer barrier_timer ("PostBarrier",0,true); + barrier_timer.start(); + CCTK_Barrier(cctkGH); + barrier_timer.stop(); + } + if (verbose) CCTK_INFO ("Done."); } |