41 Timer(
bool shouldStart =
true )
52 _start = g_get_monotonic_time();
62 _stop = g_get_monotonic_time();
73 uint64_t now = g_get_monotonic_time();
74 return (now - _start) / 1000;
78 return (_stop - _start) / 1000;
87 unsigned long retval =
stop();
unsigned long elapsed() const
Timer(bool shouldStart=true)
PBD::PropertyDescriptor< bool > running
PBD::PropertyDescriptor< timepos_t > start