StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StarClassLibrary
StTimer.hh
1
/***************************************************************************
2
*
3
* $Id: StTimer.hh,v 1.1 1999/04/27 19:23:46 ullrich Exp $
4
*
5
* Author: Thomas Ullrich, April 1999
6
***************************************************************************
7
*
8
* Description: CPU timer
9
*
10
***************************************************************************
11
*
12
* $Log: StTimer.hh,v $
13
* Revision 1.1 1999/04/27 19:23:46 ullrich
14
* Initial Revision
15
*
16
**************************************************************************/
17
#ifndef ST_TIMER_HH
18
#define ST_TIMER_HH
19
20
class
StTimer
{
21
public
:
22
StTimer
();
23
24
double
elapsedTime()
const
;
25
double
resolution()
const
;
26
void
reset();
27
void
start();
28
void
stop();
29
30
private
:
31
double
mStartTime;
32
double
mStopTime;
33
int
mIsStopped;
34
35
static
double
absoluteTime();
36
};
37
38
#endif
StTimer
Definition:
StTimer.hh:20
Generated by
1.8.5