aboutsummaryrefslogtreecommitdiff
path: root/src/Output.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Output.c')
-rw-r--r--src/Output.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/Output.c b/src/Output.c
index 226ecb5..fcb39c7 100644
--- a/src/Output.c
+++ b/src/Output.c
@@ -141,3 +141,25 @@ void TimerReport_Output(CCTK_ARGUMENTS)
return;
}
+
+ /*@@
+ @routine TimerReport_Checkpoint
+ @date April 10 2004
+ @author Erik Schnetter
+ @desc
+ Output the timer table if before_checkpoint is set
+ @enddesc
+ @calls
+@@*/
+void TimerReport_Checkpoint(CCTK_ARGUMENTS)
+{
+ DECLARE_CCTK_ARGUMENTS
+ DECLARE_CCTK_PARAMETERS
+
+ if (before_checkpoint)
+ {
+ CCTK_SchedulePrintTimes(NULL);
+ }
+
+ return;
+}