#pragma once #include #include class Timer { private: std::string name_; std::chrono::time_point start_; public: Timer(std::string_view name); void start(); void stop(); };