pub struct PipelineStats {
pub total_processed: u64,
pub items_in_flight: usize,
pub avg_processing_time_us: u64,
pub throughput_per_sec: f64,
pub utilization: f64,
pub stage_stats: Vec<StageStats>,
}Expand description
Statistics for pipeline performance monitoring
Fields§
§total_processed: u64Total items processed
items_in_flight: usizeItems currently in the pipeline
avg_processing_time_us: u64Average processing time per item in microseconds
throughput_per_sec: f64Throughput in items per second
utilization: f64Pipeline utilization (0.0 to 1.0)
stage_stats: Vec<StageStats>Per-stage statistics
Trait Implementations§
Source§impl Clone for PipelineStats
impl Clone for PipelineStats
Source§fn clone(&self) -> PipelineStats
fn clone(&self) -> PipelineStats
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 PipelineStats
impl RefUnwindSafe for PipelineStats
impl Send for PipelineStats
impl Sync for PipelineStats
impl Unpin for PipelineStats
impl UnwindSafe for PipelineStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more