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
implemented infinite backoff (fixes #311767)
[dasher.git]
/
Src
/
DasherCore
/
SimpleTimer.h
blob
63e1c529d5968c75ece8b52ea37814cc70204574
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
class
CSimpleTimer
12
{
13
public
:
14
CSimpleTimer
();
15
~
CSimpleTimer
();
16
17
double
GetElapsed
();
18
19
private
:
20
int
m_iStartSecond
;
21
int
m_iStartMs
;
22
23
};
24
25
#endif
26