pub struct ParallelMetrics {
pub tasks_completed: u64,
pub tasks_queued: u64,
pub active_tasks: u64,
pub avg_io_latency_us: u64,
pub peak_concurrency: usize,
pub current_concurrency: usize,
pub memory_usage_bytes: u64,
pub throughput: f64,
pub concurrency_adaptations: u64,
pub backpressure_events: u64,
pub queue_overflows: u64,
}Expand description
Performance metrics for parallel processing
Fields§
§tasks_completed: u64Tasks completed
tasks_queued: u64Tasks queued
active_tasks: u64Current active tasks
avg_io_latency_us: u64Average I/O latency (microseconds)
peak_concurrency: usizePeak concurrency reached
current_concurrency: usizeCurrent concurrency level
memory_usage_bytes: u64Memory usage (bytes)
throughput: f64Throughput (tasks/second)
concurrency_adaptations: u64Adaptation events
backpressure_events: u64Backpressure events
queue_overflows: u64Queue overflow events
Trait Implementations§
Source§impl Clone for ParallelMetrics
impl Clone for ParallelMetrics
Source§fn clone(&self) -> ParallelMetrics
fn clone(&self) -> ParallelMetrics
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 moreSource§impl Debug for ParallelMetrics
impl Debug for ParallelMetrics
Source§impl Default for ParallelMetrics
impl Default for ParallelMetrics
Source§fn default() -> ParallelMetrics
fn default() -> ParallelMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParallelMetrics
impl RefUnwindSafe for ParallelMetrics
impl Send for ParallelMetrics
impl Sync for ParallelMetrics
impl Unpin for ParallelMetrics
impl UnwindSafe for ParallelMetrics
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