#pragma once #include class HostTimer { private: using clock = std::chrono::high_resolution_clock; clock::time_point start; public: HostTimer(); void reset(); double elapsed() const; };