24 using TimePoint = std::chrono::time_point<std::chrono::high_resolution_clock>;
40 static TimePoint now() {
return std::chrono::high_resolution_clock::now(); }
72 template <
typename Duration = std::chrono::seconds> [[nodiscard]]
auto getElapsed()
const
78 using Duration = std::chrono::high_resolution_clock::duration;
Duration m_pausedDuration
Clock & operator=(Clock &&)=delete
Clock(const bool startNow=true)
std::chrono::time_point< std::chrono::high_resolution_clock > TimePoint
float getDeltaSeconds() const
std::chrono::high_resolution_clock::duration Duration
Clock(const Clock &)=delete
friend std::ostream & operator<<(std::ostream &os, const Clock &clock)
Clock & operator=(const Clock &)=delete