Struct machine_info::GraphicsProcessUtilization
source · [−]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
sourceimpl Debug for GraphicsProcessUtilization
impl Debug for GraphicsProcessUtilization
sourceimpl<'de> Deserialize<'de> for GraphicsProcessUtilization
impl<'de> Deserialize<'de> for GraphicsProcessUtilization
sourcefn 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 RefUnwindSafe for GraphicsProcessUtilization
impl Send for GraphicsProcessUtilization
impl Sync for GraphicsProcessUtilization
impl Unpin for GraphicsProcessUtilization
impl UnwindSafe for GraphicsProcessUtilization
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more