tsm 0.1.0
|
#include <tsm.h>
Public Member Functions | |
Duration | interval () |
Public Member Functions inherited from tsm::detail::Timer< Clock, Duration > | |
void | start () |
Duration | elapsed () const |
template<typename ToDuration = Duration> | |
Duration | elapsed (ToDuration since) const |
template<typename ToDuration > | |
ToDuration | elapsed () const |
bool | started () const |
void | reset () |
void | stop () |
Additional Inherited Members | |
Public Types inherited from tsm::detail::Timer< Clock, Duration > | |
using | ClockType = Clock |
using | DurationType = Duration |
Protected Attributes inherited from tsm::detail::Timer< Clock, Duration > | |
Clock::time_point | start_time_ |
bool | started_ { false } |
|
inline |