ATLAS Offline Software
Loading...
Searching...
No Matches
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
37double gtttimer(int );
39struct timeval gtttimer_start(void);
40double 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
double gtttimer_stop(struct timeval)
struct timeval gtttimer_start(void)
significantly (0.02ms) faster and simpler timer start/stop functions
double gtttimer(int)
void gtttimer_initkey(void)