43 Timer(
bool shouldStart =
true )
54 _start = g_get_monotonic_time();
64 _stop = g_get_monotonic_time();
75 uint64_t now = g_get_monotonic_time();
76 return (now - _start) / 1000;
80 return (_stop - _start) / 1000;
89 unsigned long retval =
stop();
unsigned long elapsed() const
Timer(bool shouldStart=true)
PBD::PropertyDescriptor< bool > running
PBD::PropertyDescriptor< timepos_t > start