ATLAS Offline Software
RegSelTimer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /**************************************************************************
6  **
7  ** File: RegSelTimer.h
8  **
9  ** Description: small timer wrapper
10  **
11  **
12  **
13  ** Author: M.Sutton
14  **
15  ** Created: Fri Jun 29 18:59:09 BST 2001
16  ** Modified:
17  **
18  **
19  **
20  **************************************************************************/
21 
22 
23 #ifndef __REGSELTIMER_H
24 #define __REGSELTIMER_H
25 
26 #include <time.h>
27 #include <sys/time.h>
28 
29 #define GTT_TIMER_START 0
30 #define GTT_TIMER_STOP 1
31 #define GTT_TIMER_SINCE -1
32 
33 #ifdef __cplusplus
34 //extern "C" {
35 #endif
36 
37 double gtttimer(int );
38 void gtttimer_initkey(void);
39 struct timeval gtttimer_start(void);
40 double gtttimer_stop(struct timeval );
41 
42 #ifdef __cplusplus
43 //}
44 #endif
45 
46 #endif /* __REGSELTIMER_H */
47 
48 
49 
50 
51 
52 
53 
54 
55 
56 
gtttimer_stop
double gtttimer_stop(struct timeval)
Definition: RegSelTimer.cxx:128
gtttimer_initkey
void gtttimer_initkey(void)
gtttimer_start
struct timeval gtttimer_start(void)
significantly (0.02ms) faster and simpler timer start/stop functions
Definition: RegSelTimer.cxx:118
gtttimer
double gtttimer(int)