pub struct ComponentStats {
pub operations: u64,
pub total_time_ns: u64,
pub max_time_ns: u64,
pub violations: u64,
pub avg_time_ns: f64,
}Expand description
Component statistics
Fields§
§operations: u64Number of operations performed.
total_time_ns: u64Total execution time in nanoseconds.
max_time_ns: u64Maximum observed execution time in nanoseconds.
violations: u64Number of timing violations.
avg_time_ns: f64Average execution time in nanoseconds.
Trait Implementations§
Source§impl Clone for ComponentStats
impl Clone for ComponentStats
Source§fn clone(&self) -> ComponentStats
fn clone(&self) -> ComponentStats
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 ComponentStats
impl Debug for ComponentStats
Source§impl Default for ComponentStats
impl Default for ComponentStats
Source§fn default() -> ComponentStats
fn default() -> ComponentStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ComponentStats
impl RefUnwindSafe for ComponentStats
impl Send for ComponentStats
impl Sync for ComponentStats
impl Unpin for ComponentStats
impl UnsafeUnpin for ComponentStats
impl UnwindSafe for ComponentStats
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