pub struct PerformanceStats { /* private fields */ }Expand description
Performance tracking for verification operations
Implementations§
Source§impl PerformanceStats
impl PerformanceStats
Sourcepub fn average_duration(&self) -> Duration
pub fn average_duration(&self) -> Duration
Get average operation duration
Sourcepub fn average_throughput(&self) -> f64
pub fn average_throughput(&self) -> f64
Get average throughput (elements per second)
Sourcepub fn verification_overhead_percent(&self, baseline_duration: Duration) -> f64
pub fn verification_overhead_percent(&self, baseline_duration: Duration) -> f64
Get verification overhead as percentage
Sourcepub fn operation_count(&self) -> usize
pub fn operation_count(&self) -> usize
Get operation count
Sourcepub fn total_elements(&self) -> usize
pub fn total_elements(&self) -> usize
Get total elements processed
Sourcepub fn max_duration(&self) -> Duration
pub fn max_duration(&self) -> Duration
Get maximum operation duration
Trait Implementations§
Source§impl Clone for PerformanceStats
impl Clone for PerformanceStats
Source§fn clone(&self) -> PerformanceStats
fn clone(&self) -> PerformanceStats
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 moreAuto Trait Implementations§
impl Freeze for PerformanceStats
impl RefUnwindSafe for PerformanceStats
impl Send for PerformanceStats
impl Sync for PerformanceStats
impl Unpin for PerformanceStats
impl UnwindSafe for PerformanceStats
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