From 77e61bb9a06ef271348c96d762935442c7439f0c Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Wed, 7 Aug 2013 18:33:48 -0400 Subject: Timers: Move all timer-related code into a new thorn Timers --- Carpet/Timers/param.ccl | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Carpet/Timers/param.ccl (limited to 'Carpet/Timers/param.ccl') diff --git a/Carpet/Timers/param.ccl b/Carpet/Timers/param.ccl new file mode 100644 index 000000000..2029006c9 --- /dev/null +++ b/Carpet/Timers/param.ccl @@ -0,0 +1,29 @@ +# Parameter definitions for thorn Timers + +SHARES: IO + +USES STRING out_dir + + + +PRIVATE: + +BOOLEAN verbose "Output (debug) messages when a timer is started or stopped" STEERABLE=always +{ +} "no" + +STRING xml_clock "Which clock to use in the XML timer output file" STEERABLE=always +{ + ".*" :: "must be a legal clock name" +} "gettimeofday" + +CCTK_REAL threshold_percentage "The percentage of the root timer below which timers are omitted" STEERABLE=always +{ + 0:* :: "" +} 1.0 + +INT output_precision "Number of decimal places to use in standard output for timer tree" STEERABLE=always +{ + 1:* :: "number of decimal places" +} 1 + -- cgit v1.2.3