aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
authorschnetter <schnetter@d0051148-8e13-4bef-be1d-f6c572c85f9f>2007-08-25 02:32:12 +0000
committerschnetter <schnetter@d0051148-8e13-4bef-be1d-f6c572c85f9f>2007-08-25 02:32:12 +0000
commit865d76b2f07aa64ea4dd6972ef7490661bd88948 (patch)
treec9f44bef09491881607e75f4213f4aa93cb3d8f7 /param.ccl
parent4c0e8f0a50204854feb57e46f4d1c7ea77c08a5b (diff)
Output timer reports to a file instead of to stdout
Add a parameter to the thorn CactusUtils/TimerReport to output the timer reports to files instead of to stdout. The reports are often many lines long, and they use more than 80 characters per line, cluttering stdout. Additionally, having them in files allows looking at timer reports from all processors without collecting all processors' stdout. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/TimerReport/trunk@19 d0051148-8e13-4bef-be1d-f6c572c85f9f
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl8
1 files changed, 8 insertions, 0 deletions
diff --git a/param.ccl b/param.ccl
index 015b6a6..3a31f7d 100644
--- a/param.ccl
+++ b/param.ccl
@@ -15,6 +15,12 @@ INT out_at "Output timer information at a given iteration" STEERABLE=ALWAYS
0:* :: "At this iteration"
} -1
+STRING out_filename "File name for timer reports" STEERABLE=ALWAYS
+{
+ "^$" :: "empty filename: print to stdout"
+ "^.+$" :: "otherwise: print to that file"
+} ""
+
BOOLEAN before_checkpoint "Before a checkpoint" STEERABLE=ALWAYS
{
} "no"
@@ -25,4 +31,6 @@ BOOLEAN next "On next iteration" STEERABLE=ALWAYS
shares: IO
+USES STRING out_dir
+
USES INT checkpoint_every