aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authorschnetter <schnetter@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8>2003-05-10 10:52:30 +0000
committerschnetter <schnetter@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8>2003-05-10 10:52:30 +0000
commit20b08143e9ba60a2a15d4def1c4b3804b5b59ff8 (patch)
treee4156392dabd410b20a23b8b5375463549f252bb /schedule.ccl
parent56df8aae484f856e79a0d609b57d0b17a286b280 (diff)
Optimise the common case.
Output timing values if desired. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@22 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl12
1 files changed, 12 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 07ea006..cca4c9e 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -5,3 +5,15 @@ SCHEDULE Slab_InitMPIDatatypes AT startup after Driver_Startup
{
LANG: C
} "Create MPI datatypes for complex variables in C"
+
+SCHEDULE Slab_InitTimers AT startup
+{
+ LANG: C
+} "Initialise timers"
+
+if (timer_output) {
+ SCHEDULE Slab_PrintTimers AT shutdown
+ {
+ LANG: C
+ } "Print timers"
+}