Stopwatch class final

Constructors, destructors, conversion operators

Stopwatch()

Public functions

void start()
void stop()
void pause()
void resume()
void restart()
auto delta() const -> Uint32
auto currentTime() const -> Uint32
auto isRunning() const -> bool
auto isPaused() const -> bool

Protected variables

Uint32 start_mark_
Uint32 stop_mark_
Uint32 paused_mark_
bool is_running_
bool is_paused_