summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/Timer.h
blob: a059daa41c4c83d775e92e7de2ed1adf54acd9e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

// Timer.h

// Declares the cTimer class representing an OS-independent of retrieving current time with msec accuracy





#pragma once





class cTimer
{
public:
	cTimer(void);

	// Returns the current time expressed in milliseconds
	long long GetNowTime(void);
private:

	#ifdef _WIN32
		LARGE_INTEGER m_TicksPerSecond;
	#endif
} ;