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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1633 by trankine, Wed Feb 27 09:52:25 2008 UTC revision 1634 by phornby, Sat Jul 12 09:08:33 2008 UTC
# Line 2  Line 2 
2  #include <search.h>  #include <search.h>
3  #include "system_dep.h"  #include "system_dep.h"
4    
5    /* If you are going to call stuff in C from C and C++, */
6    /* please take care.                                   */
7    
8    #ifdef  __cplusplus
9    extern "C" {
10    #endif
11    
12  /* Enable the block timer (or remove this and use -DBLOCKTIMER) */  /* Enable the block timer (or remove this and use -DBLOCKTIMER) */
13  /* # define BLOCKTIMER */  /* # define BLOCKTIMER */
14    
# Line 10  Line 17 
17  ESCRIPT_DLL_API  ESCRIPT_DLL_API
18  void blocktimer_initialize();  void blocktimer_initialize();
19  ESCRIPT_DLL_API  ESCRIPT_DLL_API
20  void blocktimer_increment(char *name, double start_time);  void blocktimer_increment(__const char *name, double start_time);
21  ESCRIPT_DLL_API  ESCRIPT_DLL_API
22  int blocktimer_getOrCreateTimerId(char *name);  int blocktimer_getOrCreateTimerId(__const char *name);
23  ESCRIPT_DLL_API  ESCRIPT_DLL_API
24  void blocktimer_reportSortByName();  void blocktimer_reportSortByName();
25  ESCRIPT_DLL_API  ESCRIPT_DLL_API
# Line 20  void blocktimer_reportSortByTime(); Line 27  void blocktimer_reportSortByTime();
27  ESCRIPT_DLL_API  ESCRIPT_DLL_API
28  double blocktimer_time();  double blocktimer_time();
29    
30    
31    #ifdef  __cplusplus
32    }
33    #endif

Legend:
Removed from v.1633  
changed lines
  Added in v.1634

  ViewVC Help
Powered by ViewVC 1.1.26