pub struct Stats {
pub automaton_count: usize,
pub mapping_count: usize,
pub commands_sent: u64,
pub last_update: Option<Duration>,
pub avg_update_time_us: f64,
pub max_update_time_us: f64,
pub error_count: u64,
}Expand description
Runtime statistics for the patchbay.
Fields§
§automaton_count: usizeNumber of active automata.
mapping_count: usizeNumber of active mappings.
commands_sent: u64Total commands sent to the audio thread.
last_update: Option<Duration>Duration of the last update cycle.
avg_update_time_us: f64Average update time in microseconds.
max_update_time_us: f64Maximum update time in microseconds.
error_count: u64Total error count.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more