diff options
-rw-r--r-- | param.ccl | 4 | ||||
-rw-r--r-- | src/Output.c | 5 |
2 files changed, 8 insertions, 1 deletions
@@ -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) { |