diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-01-13 01:40:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-01-13 01:40:00 +0000 |
commit | 31d22715456c2bda864140a7c1adeaf775d3e715 (patch) | |
tree | 7789741a01307d2ff1f1d9afaa05330036d7e993 /Carpet/Carpet/src/Initialise.cc | |
parent | d18847926bdd84a830b69c679676674dbd9207a5 (diff) |
Carpet: Update Carpet timing statistics
Correct the calculation of the wall time which was spent in the
simulation.
Update the calculation of the number of buffer zones.
darcs-hash:20070113014002-dae7b-e9008f950a480975777a34e52a64912b1fbfbba1.gz
Diffstat (limited to 'Carpet/Carpet/src/Initialise.cc')
-rw-r--r-- | Carpet/Carpet/src/Initialise.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Carpet/Carpet/src/Initialise.cc b/Carpet/Carpet/src/Initialise.cc index 924bfbbba..b40d46396 100644 --- a/Carpet/Carpet/src/Initialise.cc +++ b/Carpet/Carpet/src/Initialise.cc @@ -52,6 +52,9 @@ namespace Carpet { cctkGH->cctk_time = global_time; cctkGH->cctk_delta_time = delta_time; + // Timing statistics + InitTiming (cctkGH); + static Timer timer (timerSet(), "Initialise"); timer.start(); |