#ifndef STOPWATCH_H #define STOPWATCH_H #include // Klasa do pomiaru czasu (wieloplatformowa) // Jan Potocki 2017-2019 class Stopwatch { public: Stopwatch(); void start(); void stop(); double read(); protected: private: std::chrono::duration measurement; std::chrono::time_point tstart; std::chrono::time_point tstop; }; #endif // STOPWATCH_H