Mass++ Common Libraries v2.7.5
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Macros
CoreToolkits
Timer.h
Go to the documentation of this file.
1
12
#ifndef __KOME_CORE_TIMER_H__
13
#define __KOME_CORE_TIMER_H__
14
15
16
#include <ctime>
17
18
19
namespace
kome {
20
namespace
core {
21
26
class
CORE_TOOLKITS_CLASS
Timer
{
27
public
:
32
Timer
();
33
38
virtual
~
Timer
();
39
40
protected
:
42
clock_t
m_start
;
43
45
double
m_total
;
46
48
bool
m_stopped
;
49
50
public
:
55
void
reset();
56
61
void
start();
62
68
double
stop();
69
75
double
getTime();
76
82
double
getTotalTime();
83
};
84
}
85
}
86
87
88
#endif // __KOME_CORE_TIMER_H__
89
kome::core::Timer::m_total
double m_total
Definition:
Timer.h:45
kome::core::Timer
timer class
Definition:
Timer.h:26
kome::core::Timer::m_start
clock_t m_start
Definition:
Timer.h:42
kome::core::Timer::m_stopped
bool m_stopped
Definition:
Timer.h:48
Generated on Sun Mar 18 2018 12:32:08 for Mass++ Common Libraries v2.7.5 by
1.8.6