Template Class Timer
Defined in File timer.h
Class Documentation
-
template<typename DurationT, typename ClockT = std::chrono::high_resolution_clock>
class Timer The Timer class, a minimum timer class.
Public Functions
-
inline explicit Timer(const std::string &name, bool start_now = true)
-
inline const std::string &name() const
-
inline void start()
Start, start timer.
-
inline void stop()
Stop, stop timer.
-
inline void reset()
Reset.
-
inline std::string baseUnitStr() const
BaseUnitStr.
- Returns:
-
inline size_t count() const
count
-
inline explicit Timer(const std::string &name, bool start_now = true)