aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--param.ccl4
-rw-r--r--src/Output.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/param.ccl b/param.ccl
index 35a3937..95980ac 100644
--- a/param.ccl
+++ b/param.ccl
@@ -29,6 +29,10 @@ BOOLEAN next "On next iteration" STEERABLE=ALWAYS
{
} "no"
+BOOLEAN output_schedule_timers "Output the schedule timers in a formatted tabular format" STEERABLE=ALWAYS
+{
+} "yes"
+
BOOLEAN output_all_timers "Output one file per processor containing all the Cactus timers" STEERABLE=ALWAYS
{
} "no"
diff --git a/src/Output.c b/src/Output.c
index f0c51b8..c69f415 100644
--- a/src/Output.c
+++ b/src/Output.c
@@ -160,7 +160,10 @@ static void Output (CCTK_ARGUMENTS)
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;
- PrintTimes(CCTK_PASS_CTOC);
+ if (output_schedule_timers)
+ {
+ PrintTimes(CCTK_PASS_CTOC);
+ }
if (output_all_timers)
{