summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-05-10 12:38:58 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-05-10 12:38:58 +0000
commit192282a2d7877bc1b022980f7b7f9559566dbcff (patch)
tree45099945fbe93482362ed3024a38aeeaa1a1b46f /src/main
parent69a476b27cfef2048bcced5828c3801a0f89efac (diff)
Report scheduled termination routines and their elapsed times.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1640 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main')
-rw-r--r--src/main/ScheduleInterface.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/ScheduleInterface.c b/src/main/ScheduleInterface.c
index e5f54cce..c502e19a 100644
--- a/src/main/ScheduleInterface.c
+++ b/src/main/ScheduleInterface.c
@@ -618,6 +618,8 @@ int CCTK_SchedulePrint(const char *where)
indent_level -=2;
printf (" endif\n");
printf (" enddo\n");
+ printf (" Termination routines\n");
+ SchedulePrint("CCTK_TERMINATE");
printf (" Shutdown routines\n");
SchedulePrint("CCTK_SHUTDOWN");
}
@@ -675,6 +677,7 @@ int CCTK_SchedulePrintTimes(const char *where)
SchedulePrintTimes("CCTK_ANALYSIS", &data);
SchedulePrintTimes("CCTK_ANALYSIS$EXIT", &data);
printf("\n");
+ SchedulePrintTimes("CCTK_TERMINATE", &data);
SchedulePrintTimes("CCTK_SHUTDOWN", &data);
}
else