diff options
author | Ian Hinder <ian.hinder@aei.mpg.de> | 2011-06-02 11:13:18 +0200 |
---|---|---|
committer | Ian Hinder <ian.hinder@aei.mpg.de> | 2011-06-02 11:13:18 +0200 |
commit | d619160df91b262a4f30a00fbdaec06c62c8fc3c (patch) | |
tree | 5e5e1626d9cc0a50a9071b805e0e448ad7c48629 /Carpet/Carpet/src/Recompose.cc | |
parent | f3369326f2801105c97dec5d1c66265633647b30 (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/Carpet/src/Recompose.cc')
-rw-r--r-- | Carpet/Carpet/src/Recompose.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Carpet/Carpet/src/Recompose.cc b/Carpet/Carpet/src/Recompose.cc index dfdeec847..8e4e53a27 100644 --- a/Carpet/Carpet/src/Recompose.cc +++ b/Carpet/Carpet/src/Recompose.cc @@ -90,7 +90,7 @@ namespace Carpet { void CheckRegions (gh::mregs const & regsss) { - char const * const where = "Carpet::CheckRegions"; + char const * const where = "CheckRegions"; static Timer timer (where); timer.start(); @@ -148,7 +148,7 @@ namespace Carpet { { DECLARE_CCTK_PARAMETERS; - char const * const where = "Carpet::Regrid"; + char const * const where = "Regrid"; static Timer timer (where); timer.start(); @@ -265,7 +265,7 @@ namespace Carpet { { DECLARE_CCTK_PARAMETERS; - char const * const where = "Carpet::RegridMap"; + char const * const where = "RegridMap"; static Timer timer (where); timer.start(); @@ -325,7 +325,7 @@ namespace Carpet { { DECLARE_CCTK_PARAMETERS; - char const * const where = "Carpet::PostRegrid"; + char const * const where = "PostRegrid"; static Timer timer (where); timer.start(); @@ -380,7 +380,7 @@ namespace Carpet { int const rl, bool const do_init) { - char const * const where = "Carpet::Recompose"; + char const * const where = "Recompose"; static Timer timer (where); timer.start(); @@ -408,7 +408,7 @@ namespace Carpet { RegridFree (cGH const * const cctkGH, bool const do_init) { - char const * const where = "Carpet::RegridFree"; + char const * const where = "RegridFree"; static Timer timer (where); timer.start(); |