aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOScalar
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2011-06-02 11:13:18 +0200
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 18:26:31 +0000
commit354e98350a75316f2976b7ccdd43938797485a7c (patch)
tree949469c4e5735a15f0edd26d557387ab28cb3e0a /Carpet/CarpetIOScalar
parent26ee29ba4a30a2111bf0e130b916a657ba139a97 (diff)
Adapt Carpet to hierarchical timers
Specifically, remove any hierarchy information that has been added to the name of timers, as well as any code for creating timers dynamically, as these are now unnecessary. Additionally, time some previously-untimed parts of the code and make timer names in some places more consistent.
Diffstat (limited to 'Carpet/CarpetIOScalar')
-rw-r--r--Carpet/CarpetIOScalar/src/ioscalar.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetIOScalar/src/ioscalar.cc b/Carpet/CarpetIOScalar/src/ioscalar.cc
index 964498280..75e450fc8 100644
--- a/Carpet/CarpetIOScalar/src/ioscalar.cc
+++ b/Carpet/CarpetIOScalar/src/ioscalar.cc
@@ -155,7 +155,7 @@ namespace CarpetIOScalar {
int
OutputGH (const cGH * const cctkGH)
{
- static Carpet::Timer timer ("CarpetIOScalar::OutputGH");
+ static Carpet::Timer timer ("OutputGH");
timer.start();
for (int vindex=0; vindex<CCTK_NumVars(); ++vindex) {
if (TimeToOutput(cctkGH, vindex)) {