pub struct PoolUtilizationReport {
pub total_pools: usize,
pub total_tensors_pooled: usize,
pub hit_rate: f64,
pub fragmentation_score: f64,
pub cache_efficiency: f64,
pub memory_usage_mb: usize,
pub peak_memory_usage_mb: usize,
pub pressure_events: usize,
pub gc_time_ms: u64,
pub performance_score: f64,
pub needs_optimization: bool,
pub recommendations: Vec<String>,
}Expand description
Detailed pool utilization report
Fields§
§total_pools: usize§total_tensors_pooled: usize§hit_rate: f64§fragmentation_score: f64§cache_efficiency: f64§memory_usage_mb: usize§peak_memory_usage_mb: usize§pressure_events: usize§gc_time_ms: u64§performance_score: f64§needs_optimization: bool§recommendations: Vec<String>Trait Implementations§
Source§impl Clone for PoolUtilizationReport
impl Clone for PoolUtilizationReport
Source§fn clone(&self) -> PoolUtilizationReport
fn clone(&self) -> PoolUtilizationReport
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 PoolUtilizationReport
impl RefUnwindSafe for PoolUtilizationReport
impl Send for PoolUtilizationReport
impl Sync for PoolUtilizationReport
impl Unpin for PoolUtilizationReport
impl UnsafeUnpin for PoolUtilizationReport
impl UnwindSafe for PoolUtilizationReport
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