94 static int64_t GetElapsedSystemTime(
bool relative_time =
true);
101 static void ResetElapsedSystemTime();
108 static void HibernateSystemTime();
115 static void ResumeSystemTime();
124 void SetDuration(
int duration);
133 int GetDuration()
const;
142 int GetStartTime()
const;
151 bool IsStarted()
const;
163 void Start(
int time_shift = 0);
172 void StartFromTime(
int start_time);
188 int GetElapsedTime();
198 int64_t GetElapsedTimeInUSecs();
258 virtual int64_t GetSystemTime() = 0;
int64_t LastShot
The last shot in microseconds.
MC::TimerType TimerType
The type of the timer.
int64_t Duration
Duration.
int64_t StartTime
Start time.
Simple timer class with microsecond precision.