pub struct BusyUsage {
pub cores: f32,
pub gpu_pct: f32,
}Expand description
Average load of a lease holder’s session over only the samples in which it was busy, so the idle time before and after the command does not water the load down.
Fields§
§cores: f32Average CPU load in logical cores.
gpu_pct: f32Average GPU engine load as a percentage of one adapter.
Trait Implementations§
impl Copy for BusyUsage
Source§impl<'de> Deserialize<'de> for BusyUsage
impl<'de> Deserialize<'de> for BusyUsage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for BusyUsage
Auto Trait Implementations§
impl Forget for BusyUsage
impl Freeze for BusyUsage
impl RefUnwindSafe for BusyUsage
impl Send for BusyUsage
impl Sync for BusyUsage
impl Unpin for BusyUsage
impl UnsafeUnpin for BusyUsage
impl UnwindSafe for BusyUsage
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