diff options
author | Ian Hinder <ian.hinder@aei.mpg.de> | 2011-06-02 11:13:18 +0200 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2011-12-14 18:26:31 +0000 |
commit | 354e98350a75316f2976b7ccdd43938797485a7c (patch) | |
tree | 949469c4e5735a15f0edd26d557387ab28cb3e0a /Carpet/Carpet/src/Comm.cc | |
parent | 26ee29ba4a30a2111bf0e130b916a657ba139a97 (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/Comm.cc')
-rw-r--r-- | Carpet/Carpet/src/Comm.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/Carpet/src/Comm.cc b/Carpet/Carpet/src/Comm.cc index 6c7521740..14c244604 100644 --- a/Carpet/Carpet/src/Comm.cc +++ b/Carpet/Carpet/src/Comm.cc @@ -135,7 +135,7 @@ namespace Carpet { // prolongate boundaries bool const local_do_prolongate = do_prolongate and not do_taper; if (local_do_prolongate) { - static Timer timer ("Evolve::Prolongate"); + static Timer timer ("Prolongate"); timer.start(); ProlongateGroupBoundaries (cctkGH, goodgroups); timer.stop(); @@ -152,7 +152,7 @@ namespace Carpet { // synchronise ghostzones if (sync_during_time_integration or local_do_prolongate) { - static Timer timer ("Evolve::Sync"); + static Timer timer ("Sync"); timer.start(); SyncGroups (cctkGH, goodgroups); timer.stop(); |