pub struct ParallelProcessingStats {
pub total_allocations: usize,
pub shard_count: usize,
pub threads_used: usize,
pub total_processing_time_ms: u64,
pub avg_shard_processing_time_ms: f64,
pub parallel_efficiency: f64,
pub throughput_allocations_per_sec: f64,
pub used_parallel_processing: bool,
pub total_output_size_bytes: usize,
}Expand description
Parallel processing statistics
Fields§
§total_allocations: usizeTotal number of allocations
shard_count: usizeNumber of shards
threads_used: usizeNumber of threads used
total_processing_time_ms: u64Total processing time (milliseconds)
avg_shard_processing_time_ms: f64Average processing time per shard (milliseconds)
parallel_efficiency: f64Parallel efficiency (acceleration ratio compared to single thread)
throughput_allocations_per_sec: f64Throughput (allocations per second)
used_parallel_processing: boolWhether parallel processing was used
total_output_size_bytes: usizeTotal output size (bytes)
Trait Implementations§
Source§impl Clone for ParallelProcessingStats
impl Clone for ParallelProcessingStats
Source§fn clone(&self) -> ParallelProcessingStats
fn clone(&self) -> ParallelProcessingStats
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 ParallelProcessingStats
impl RefUnwindSafe for ParallelProcessingStats
impl Send for ParallelProcessingStats
impl Sync for ParallelProcessingStats
impl Unpin for ParallelProcessingStats
impl UnwindSafe for ParallelProcessingStats
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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