pub struct PatchbayStats {
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§
Source§impl Clone for PatchbayStats
impl Clone for PatchbayStats
Source§fn clone(&self) -> PatchbayStats
fn clone(&self) -> PatchbayStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PatchbayStats
impl Debug for PatchbayStats
Source§impl Default for PatchbayStats
impl Default for PatchbayStats
Source§fn default() -> PatchbayStats
fn default() -> PatchbayStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PatchbayStats
impl RefUnwindSafe for PatchbayStats
impl Send for PatchbayStats
impl Sync for PatchbayStats
impl Unpin for PatchbayStats
impl UnsafeUnpin for PatchbayStats
impl UnwindSafe for PatchbayStats
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