Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Helpers
Timer.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
namespace
Eegeo
6
{
7
namespace
Helpers
8
{
9
class
Timer
10
{
11
public
:
12
Timer
();
13
long
long
Start();
14
long
long
Stop();
15
long
long
Total()
const
;
16
int
GetNumOfIntervals()
const
{
return
m_numOfIntervals; }
17
void
Reset();
18
double
Average()
const
;
19
bool
IsRunning()
const
{
return
m_isRunning; }
20
21
private
:
22
long
long
m_startTime;
23
long
long
m_totalTime;
24
bool
m_isRunning;
25
int
m_numOfIntervals;
26
};
27
}
28
}
29
30
Generated on Sat Jun 10 2023 02:00:30 for eeGeo Platform SDK by
1.8.3.1