#include <timer.h>
millisecond timer class.
Definition at line 40 of file surfaces/us2400/timer.h.
◆ Timer()
ArdourSurface::US2400::Timer::Timer |
( |
bool |
shouldStart = true | ) |
|
|
inline |
◆ elapsed()
unsigned long ArdourSurface::US2400::Timer::elapsed |
( |
| ) |
const |
|
inline |
◆ restart()
unsigned long ArdourSurface::US2400::Timer::restart |
( |
| ) |
|
|
inline |
◆ start()
unsigned long ArdourSurface::US2400::Timer::start |
( |
void |
| ) |
|
|
inline |
Start the timer running. Return the current timestamp, in milliseconds
Definition at line 57 of file surfaces/us2400/timer.h.
◆ stop()
unsigned long ArdourSurface::US2400::Timer::stop |
( |
void |
| ) |
|
|
inline |
returns the number of milliseconds since start also stops the timer running
Definition at line 67 of file surfaces/us2400/timer.h.
◆ _start
uint64_t ArdourSurface::US2400::Timer::_start |
|
private |
◆ _stop
uint64_t ArdourSurface::US2400::Timer::_stop |
|
private |
◆ running
bool ArdourSurface::US2400::Timer::running |
|
private |
The documentation for this class was generated from the following file: