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

Annotation of /trunk/esysUtils/src/blocktimer.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2548 - (hide annotations)
Mon Jul 20 06:20:06 2009 UTC (11 years, 10 months ago) by jfenwick
File MIME type: text/plain
File size: 998 byte(s)
Updating copyright notices
1 phornby 2078
2     /*******************************************************
3     *
4 jfenwick 2548 * Copyright (c) 2003-2009 by University of Queensland
5 phornby 2078 * 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     ESYSUTILS_DLL_API
28     void blocktimer_initialize();
29     ESYSUTILS_DLL_API
30     void blocktimer_increment(__const char *name, double start_time);
31     ESYSUTILS_DLL_API
32     int blocktimer_getOrCreateTimerId(__const char *name);
33     ESYSUTILS_DLL_API
34     void blocktimer_reportSortByName();
35     ESYSUTILS_DLL_API
36     void blocktimer_reportSortByTime();
37     ESYSUTILS_DLL_API
38     double blocktimer_time();
39    
40    
41     #endif

  ViewVC Help
Powered by ViewVC 1.1.26