aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/Shutdown.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/Carpet/src/Shutdown.cc')
-rw-r--r--Carpet/Carpet/src/Shutdown.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/Carpet/Carpet/src/Shutdown.cc b/Carpet/Carpet/src/Shutdown.cc
index 1cd354188..f3da0b086 100644
--- a/Carpet/Carpet/src/Shutdown.cc
+++ b/Carpet/Carpet/src/Shutdown.cc
@@ -80,11 +80,10 @@ namespace Carpet {
} END_REVERSE_MGLEVEL_LOOP;
- TimerNode *rt = TimerNode::getRootTimer();
- rt->stop();
+ main_timer_tree.root->stop();
if (output_xml_timer_tree)
- rt->outputXML(out_dir,CCTK_MyProc (cctkGH));
+ main_timer_tree.root->outputXML(out_dir,CCTK_MyProc (cctkGH));
// earlier checkpoint before finalising MPI
Waypoint ("Done with shutdown");