repo.or.cz
/
dasher.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update Turkish translation
[dasher.git]
/
Src
/
DasherCore
/
SimpleTimer.h
blob
c174a8a76eb7a663ad88c94aef19262690b2c40b
1
2
// Simple millisecond accurate timer.
3
//
4
// Copyright 2004 by Keith Vertanen
5
6
#ifndef __SIMPLE_TIMER_H__
7
#define __SIMPLE_TIMER_H__
8
9
#include <time.h>
10
11
/// \ingroup Logging
12
/// \{
13
class
CSimpleTimer
14
{
15
public
:
16
CSimpleTimer
();
17
~
CSimpleTimer
();
18
19
double
GetElapsed
();
20
21
private
:
22
int
m_iStartSecond
;
23
int
m_iStartMs
;
24
25
};
26
/// \}
27
28
#endif
29