diff options
Diffstat (limited to 'Carpet/Carpet/src/Evolve.cc')
-rw-r--r-- | Carpet/Carpet/src/Evolve.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Carpet/Carpet/src/Evolve.cc b/Carpet/Carpet/src/Evolve.cc index 86a5c0dbc..574dbc246 100644 --- a/Carpet/Carpet/src/Evolve.cc +++ b/Carpet/Carpet/src/Evolve.cc @@ -51,9 +51,6 @@ namespace Carpet { int const convlev = 0; cGH* cctkGH = fc->GH[convlev]; - // Timing statistics - InitTiming (cctkGH); - // Tapered grids do_taper = use_tapered_grids; @@ -482,6 +479,11 @@ namespace Carpet { // Analysis ScheduleTraverse (where, "CCTK_ANALYSIS", cctkGH); + if (do_global_mode) { + // Timing statistics + UpdateTimingStats (cctkGH); + } + // Output OutputGH (where, cctkGH); |