acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
chronometer.h
1
2
// timer.h
3
// =======
4
// High Resolution timer.
5
// This timer is able to measure the elapsed time with 1 micro-second accuracy
6
// in both Windows, Linux and Unix system
7
//
8
// AUTHOR: Song Ho Ahn (
[email protected]
)
9
// CREATED: 2003-01-13
10
// UPDATED: 2006-01-13
11
//
12
// Copyright (ca) 2003 Song Ho Ahn
14
#pragma once
15
16
17
namespace
acme
18
{
19
20
21
class
CLASS_DECL_ACME chronometer
22
{
23
public
:
24
25
26
bool
m_bStopped;
27
class ::time
m_timeStart
;
28
class ::time m_timeEnd;
29
30
31
chronometer();
// default constructor
32
~chronometer();
// default destructor
33
34
35
void
start();
// start timer
36
void
stop();
// stop the timer
37
class
time
elapsed();
// get elapsed time in second
38
39
class
time
now();
// get time in second
40
41
};
42
43
44
}
// namespace acme
45
46
47
acme::chronometer::m_timeStart
class::time m_timeStart
stop flag
Definition
chronometer.h:27
time
Definition
aaa_time.h:13
acme
include "aura/graphics/image/context.h"
Definition
aaaa__defer.h:32
operating_system
chronometer.h
Generated by
1.17.0