#pragma once #include class CTimer { public: void reset(); float getSeconds(); long getMillis(); const std::chrono::steady_clock::time_point& chrono() const; private: std::chrono::steady_clock::time_point m_tpLastReset; std::chrono::steady_clock::duration getDuration(); };