Mercurial > code
comparison modules/elapsed-timer/elapsed-timer.hpp @ 577:d0b9ce94b857
ElapsedTimer: reduce column limit
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 20 Jul 2016 16:17:55 +0200 |
parents | f48bb09bccc7 |
children |
comparison
equal
deleted
inserted
replaced
576:943d07fbe352 | 577:d0b9ce94b857 |
---|---|
27 #include <chrono> | 27 #include <chrono> |
28 | 28 |
29 /** | 29 /** |
30 * \brief Measure elapsed time | 30 * \brief Measure elapsed time |
31 * | 31 * |
32 * This class provides an abstraction to measure elapsed time since the construction of the object. It uses | 32 * This class provides an abstraction to measure elapsed time since the |
33 * std::chrono::high_resolution_clock for more precision and uses milliseconds only. | 33 * construction of the object. It uses std::chrono::high_resolution_clock for |
34 * more precision and uses milliseconds only. | |
34 */ | 35 */ |
35 class ElapsedTimer { | 36 class ElapsedTimer { |
36 private: | 37 private: |
37 using TimePoint = std::chrono::time_point<std::chrono::high_resolution_clock>; | 38 using TimePoint = std::chrono::time_point<std::chrono::high_resolution_clock>; |
38 | 39 |