14 #include "../Defines/BasicTypes.h" 41 unsigned Int64 GetAgeInMicroseconds()
const;
45 return GetAgeInMicroseconds() / 1000;
50 return GetAgeInMicroseconds() / 1000000;
56 unsigned Int64 mStartTimeInPerformanceCounterUnits;
58 unsigned Int64 mStartTimeInMicroseconds;
106 if (mpTotalTimer !=
NULL)
118 unsigned Int64 mStartTimeInPerformanceCounterUnits;
120 unsigned Int64 mStartTimeInMicroseconds;
134 if (mpTotalTimer1 !=
NULL)
147 unsigned Int64 mStartTimeInPerformanceCounterUnits;
149 unsigned Int64 mStartTimeInMicroseconds;
163 if (mpTotalTimer1 !=
NULL)
177 unsigned Int64 mStartTimeInPerformanceCounterUnits;
179 unsigned Int64 mStartTimeInMicroseconds;
187 mTotalTimeInPerformanceCounterUnits(0),
189 mTotalTimeInMicroseconds(0),
198 unsigned Int64 GetTotalInMicroseconds()
const;
202 return GetTotalInMicroseconds() / 1000;
207 return GetTotalInMicroseconds() / 1000000;
215 return (mIncrementCount > 0) ? GetTotalInMicroseconds() / mIncrementCount : 0;
220 return GetAverageInMicroseconds() / 1000;
225 return GetAverageInMicroseconds() / 1000000;
233 return mIncrementCount;
243 unsigned Int64 mTotalTimeInPerformanceCounterUnits;
245 unsigned Int64 mTotalTimeInMicroseconds;
247 unsigned Int64 mIncrementCount;
251 #endif // MBase_Timer_h
~Timer2()
Definition: Timer.h:132
#define Int64
Definition: BasicTypes.h:36
unsigned Int64 GetAverageInMicroseconds() const
Definition: Timer.h:213
unsigned Int64 GetAgeInSeconds() const
Definition: Timer.h:48
~Timer()
Definition: Timer.h:104
#define DLL_BASE_EXIM
Definition: Base.h:20
TotalTimer()
Definition: Timer.h:185
Definition: Allocator.h:47
unsigned Int64 GetIncrementCount() const
Definition: Timer.h:231
unsigned Int64 GetAverageInMilliseconds() const
Definition: Timer.h:218
~Timer3()
Definition: Timer.h:161
unsigned Int64 GetAverageInSeconds() const
Definition: Timer.h:223
unsigned Int64 GetTotalInSeconds() const
Definition: Timer.h:205
unsigned Int64 GetTotalInMilliseconds() const
Definition: Timer.h:200
#define NULL
Definition: Null.h:10
unsigned Int64 GetAgeInMilliseconds() const
Definition: Timer.h:43