ESScript  Revision_4488
blocktimer.h
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2013 by University of Queensland
5 * http://www.uq.edu.au
6 *
7 * Primary Business: Queensland, Australia
8 * Licensed under the Open Software License version 3.0
9 * http://www.opensource.org/licenses/osl-3.0.php
10 *
11 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development since 2012 by School of Earth Sciences
13 *
14 *****************************************************************************/
15 
16 
17 #ifndef blocktimer_h
18 #define blocktimer_h
19 
20 #include <stdio.h>
21 #include <search.h>
22 #include "system_dep.h"
23 
24 /* Enable the block timer (or remove this and use -DBLOCKTIMER) */
25 /* # define BLOCKTIMER */
26 
27 # define NUM_TIMERS 1024
28 
32 void blocktimer_increment(__const char *name, double start_time);
40 double blocktimer_time();
41 
42 
43 #endif