From 20b08143e9ba60a2a15d4def1c4b3804b5b59ff8 Mon Sep 17 00:00:00 2001 From: schnetter Date: Sat, 10 May 2003 10:52:30 +0000 Subject: 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 --- schedule.ccl | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'schedule.ccl') 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" +} -- cgit v1.2.3