/[escript]/trunk/escript/src/blocktimer.h
ViewVC logotype

Contents of /trunk/escript/src/blocktimer.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1811 - (show annotations)
Thu Sep 25 23:11:13 2008 UTC (11 years ago) by ksteube
File MIME type: text/plain
File size: 986 byte(s)
Copyright updated in all files

1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2008 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
8 * Primary Business: Queensland, Australia
9 * Licensed under the Open Software License version 3.0
10 * http://www.opensource.org/licenses/osl-3.0.php
11 *
12 *******************************************************/
13
14
15 #ifndef blocktimer_h
16 #define blocktimer_h
17
18 #include <stdio.h>
19 #include <search.h>
20 #include "system_dep.h"
21
22 /* Enable the block timer (or remove this and use -DBLOCKTIMER) */
23 /* # define BLOCKTIMER */
24
25 # define NUM_TIMERS 1024
26
27 ESCRIPT_DLL_API
28 void blocktimer_initialize();
29 ESCRIPT_DLL_API
30 void blocktimer_increment(__const char *name, double start_time);
31 ESCRIPT_DLL_API
32 int blocktimer_getOrCreateTimerId(__const char *name);
33 ESCRIPT_DLL_API
34 void blocktimer_reportSortByName();
35 ESCRIPT_DLL_API
36 void blocktimer_reportSortByTime();
37 ESCRIPT_DLL_API
38 double blocktimer_time();
39
40
41 #endif

  ViewVC Help
Powered by ViewVC 1.1.26