Class Timer

Class Documentation

class Timer

Timer object.

Public Functions

Timer() noexcept

Default constructor.

void Reset()

Resets the timer to zero.

double GetTime() const

Gets the current timer value in milliseconds.

std::string GetTimeString() const

Obtains a string in the format of hh:mm::ss.

Public Static Functions

static std::string GetLocalDateTimeString()

Obtains a string in the format YYYY-MM-DD hh:mm:ss.