diff options
author | Ian Hinder <ian.hinder@aei.mpg.de> | 2011-06-01 08:55:24 +0200 |
---|---|---|
committer | Ian Hinder <ian.hinder@aei.mpg.de> | 2011-06-01 08:55:24 +0200 |
commit | f3369326f2801105c97dec5d1c66265633647b30 (patch) | |
tree | 1f345f2af1ef1bd1708c92aabb6aab36f24c970d /Carpet/Carpet/param.ccl | |
parent | 1c0d3586f5708f10343649f5ef000ce83550c401 (diff) |
Add timer tree output and associated parameters
New parameters output_initialise_timer_tree and
output_timer_tree_every control output of a new "timer tree diagram"
to standard output for the Initialise and Evolve timer trees
respectively. These diagrams indicate:
1. the value of each timer;
2. the percentage of the given tree taken by each timer;
3. which timers are contained in which other timers;
4. any untimed code
for any timer which takes more than 1% of the tree time.
Diffstat (limited to 'Carpet/Carpet/param.ccl')
-rw-r--r-- | Carpet/Carpet/param.ccl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Carpet/Carpet/param.ccl b/Carpet/Carpet/param.ccl index bb1566534..b9a106548 100644 --- a/Carpet/Carpet/param.ccl +++ b/Carpet/Carpet/param.ccl @@ -523,3 +523,14 @@ STRING timer_xml_clock "Which clock to use in the XML timer output file" { ".*" :: "must be a legal clock name" } "gettimeofday" + + +BOOLEAN output_initialise_timer_tree "Output timing information in tree form to standard output for Initialise" +{ +} "no" + +INT output_timer_tree_every "Output timing information in tree form to standard output for Evolve every so many iterations" +{ + 0 :: "don't report" + 1:* :: "report every so many iterations" +} 0 |