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