summaryrefslogblamecommitdiffstats
path: root/src/OSSupport/Timer.h
blob: a059daa41c4c83d775e92e7de2ed1adf54acd9e4 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                                         

            



 


            
                     
 

                                                             

        







                                               

// 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
} ;