pub struct GraphicsProcessUtilization {
pub pid: u32,
pub gpu: u32,
pub memory: u32,
pub encoder: u32,
pub decoder: u32,
}
Expand description
Graphic card usage by process
Fields§
§pid: u32
Process identificator
gpu: u32
Gpu identificator
memory: u32
Memory usage
encoder: u32
Gpu encoder utilization as percentage
decoder: u32
Gpu decoder utilization as percentage
Trait Implementations§
Source§impl Debug for GraphicsProcessUtilization
impl Debug for GraphicsProcessUtilization
Source§impl<'de> Deserialize<'de> for GraphicsProcessUtilization
impl<'de> Deserialize<'de> for GraphicsProcessUtilization
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
Auto Trait Implementations§
impl Freeze for GraphicsProcessUtilization
impl RefUnwindSafe for GraphicsProcessUtilization
impl Send for GraphicsProcessUtilization
impl Sync for GraphicsProcessUtilization
impl Unpin for GraphicsProcessUtilization
impl UnwindSafe for GraphicsProcessUtilization
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