pub struct PerformanceStats {
pub total_tasks: u64,
pub avg_task_time_ns: f64,
pub steal_success_rate: f64,
pub queue_contentions: u64,
pub avg_load_imbalance: f64,
}
Expand description
Performance statistics summary
Fields§
§total_tasks: u64
Total number of tasks executed
avg_task_time_ns: f64
Average task execution time in nanoseconds
steal_success_rate: f64
Work stealing success rate (0.0 to 1.0)
queue_contentions: u64
Number of queue contentions
avg_load_imbalance: f64
Average load imbalance factor
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
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