pub struct HardwareUtilization {
pub cpu_utilization: f64,
pub gpu_utilization: f64,
pub memory_utilization: f64,
pub cache_hit_rates: CacheHitRates,
}Expand description
Hardware utilization analysis
Fields§
§cpu_utilization: f64CPU utilization percentage
gpu_utilization: f64GPU utilization percentage
memory_utilization: f64Memory utilization percentage
cache_hit_rates: CacheHitRatesCache hit rates
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HardwareUtilization
impl RefUnwindSafe for HardwareUtilization
impl Send for HardwareUtilization
impl Sync for HardwareUtilization
impl Unpin for HardwareUtilization
impl UnwindSafe for HardwareUtilization
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> 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