aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/param.ccl
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2011-06-02 11:13:41 +0200
committerIan Hinder <ian.hinder@aei.mpg.de>2011-06-02 11:13:41 +0200
commit1c0d3586f5708f10343649f5ef000ce83550c401 (patch)
treea78d5d48b4679ced39da79ec806b19ebfadfed9e /Carpet/Carpet/param.ccl
parentc541e69608e6273541b0bc87068efb9c13eabda4 (diff)
Make Carpet timers hierarchical
This commit modifies the timer infrastructure in Carpet to generate a tree of timers where the hierarchy reflects the call-graph of the program. This makes it much easier to interpret the timer output than with the previous flat structure, where it was not possible to see which timers "contained" which others. More implementation details are given at the top of TimerNode.hh. Note that the Timer source and header files have been renamed as CactusTimer and a new Timer file and object has been created. This is because the Timer object now only provides a wrapper around the Cactus timer mechanism which was contained in the old Timer object.
Diffstat (limited to 'Carpet/Carpet/param.ccl')
-rw-r--r--Carpet/Carpet/param.ccl4
1 files changed, 4 insertions, 0 deletions
diff --git a/Carpet/Carpet/param.ccl b/Carpet/Carpet/param.ccl
index 42fcae1d1..bb1566534 100644
--- a/Carpet/Carpet/param.ccl
+++ b/Carpet/Carpet/param.ccl
@@ -519,3 +519,7 @@ BOOLEAN use_unusedpoints_mask "Turn on of off (default) storage and usage of 'un
0:* :: "Anything else than 0 turns unusedpoints_mask on"
} 0
+STRING timer_xml_clock "Which clock to use in the XML timer output file"
+{
+ ".*" :: "must be a legal clock name"
+} "gettimeofday"