From 354e98350a75316f2976b7ccdd43938797485a7c Mon Sep 17 00:00:00 2001 From: Ian Hinder Date: Thu, 2 Jun 2011 11:13:18 +0200 Subject: 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. --- Carpet/CarpetIOBasic/src/iobasic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Carpet/CarpetIOBasic') diff --git a/Carpet/CarpetIOBasic/src/iobasic.cc b/Carpet/CarpetIOBasic/src/iobasic.cc index 8dd73614d..14b4c28b8 100644 --- a/Carpet/CarpetIOBasic/src/iobasic.cc +++ b/Carpet/CarpetIOBasic/src/iobasic.cc @@ -155,7 +155,7 @@ namespace CarpetIOBasic { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; - static Carpet::Timer timer ("CarpetIOBasic::OutputGH"); + static Carpet::Timer timer ("OutputGH"); timer.start(); if (TimeToOutput (cctkGH)) { -- cgit v1.2.3