40 #ifndef INCLUDED_DISTI_TIMER_H
41 #define INCLUDED_DISTI_TIMER_H
47 # include <mmsystem.h>
56 typedef uint64_t INT_64;
58 typedef __int64 INT_64;
76 void AccurateSleep(
unsigned long milli );
78 bool _winTimerResolutionSet;
89 LARGE_INTEGER performanceFreq;
94 DISTI_EXPORT
Timer(
void );
100 DISTI_EXPORT
void Reset(
void );
138 virtual DISTI_EXPORT
void GetTimeOfDay(
unsigned long* sec,
unsigned long* usec );
184 virtual DISTI_EXPORT ~Timer();
virtual unsigned long ElapsedMilliseconds(void)
virtual unsigned long DIS_Timestamp(void)
virtual void WaitMicroseconds(unsigned long micro)
virtual void GetTimeOfDay(unsigned long *sec, unsigned long *usec)
virtual void WaitMilliseconds(unsigned long milli)
A file for all GL Studio files to include.
virtual unsigned long DifferenceInMicroseconds(unsigned long sec, unsigned long usec)
virtual double ElapsedSecondsDouble(void)
virtual double DifferenceInSeconds(unsigned long sec, unsigned long usec)
virtual unsigned long ElapsedMicroseconds(void)
virtual unsigned long ElapsedSeconds(void)
Definition: bmpimage.h:46
virtual unsigned long GetCurrentTimeInSeconds(void)