pub struct PerformanceMetrics {
pub frames_rendered: u64,
pub commands_executed: u64,
pub commands_dropped: u64,
pub queue_depth_max: usize,
pub swaps: u64,
pub stingers_fired: u64,
}Expand description
A point-in-time health snapshot — read off the audio path; all counters advance on the render side without formatting or allocation.
Fields§
§frames_rendered: u64Frames rendered since start.
commands_executed: u64Commands executed at their exact frames.
commands_dropped: u64Commands rejected by a full queue.
queue_depth_max: usizeDeepest the queue has been.
swaps: u64Program swaps performed.
stingers_fired: u64Stingers fired.
Trait Implementations§
Source§impl Clone for PerformanceMetrics
impl Clone for PerformanceMetrics
Source§fn clone(&self) -> PerformanceMetrics
fn clone(&self) -> PerformanceMetrics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PerformanceMetrics
impl Debug for PerformanceMetrics
Source§impl Default for PerformanceMetrics
impl Default for PerformanceMetrics
Source§fn default() -> PerformanceMetrics
fn default() -> PerformanceMetrics
Returns the “default value” for a type. Read more
impl Eq for PerformanceMetrics
Source§impl PartialEq for PerformanceMetrics
impl PartialEq for PerformanceMetrics
impl StructuralPartialEq for PerformanceMetrics
Auto Trait Implementations§
impl Freeze for PerformanceMetrics
impl RefUnwindSafe for PerformanceMetrics
impl Send for PerformanceMetrics
impl Sync for PerformanceMetrics
impl Unpin for PerformanceMetrics
impl UnsafeUnpin for PerformanceMetrics
impl UnwindSafe for PerformanceMetrics
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