pub struct ProcessUtilizationSample {
pub pid: u32,
pub timestamp: u64,
pub sm_util: u32,
pub mem_util: u32,
pub enc_util: u32,
pub dec_util: u32,
}
Fields§
§pid: u32
§timestamp: u64
CPU timestamp in μs
sm_util: u32
SM (3D / compute) utilization
mem_util: u32
Frame buffer memory utilization
enc_util: u32
Encoder utilization
dec_util: u32
Decoder utilization
Trait Implementations§
source§impl Clone for ProcessUtilizationSample
impl Clone for ProcessUtilizationSample
source§fn clone(&self) -> ProcessUtilizationSample
fn clone(&self) -> ProcessUtilizationSample
Returns a copy 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 moresource§impl Debug for ProcessUtilizationSample
impl Debug for ProcessUtilizationSample
source§impl From<nvmlProcessUtilizationSample_st> for ProcessUtilizationSample
impl From<nvmlProcessUtilizationSample_st> for ProcessUtilizationSample
source§fn from(struct_: nvmlProcessUtilizationSample_t) -> Self
fn from(struct_: nvmlProcessUtilizationSample_t) -> Self
Converts to this type from the input type.
source§impl Hash for ProcessUtilizationSample
impl Hash for ProcessUtilizationSample
source§impl PartialEq for ProcessUtilizationSample
impl PartialEq for ProcessUtilizationSample
source§fn eq(&self, other: &ProcessUtilizationSample) -> bool
fn eq(&self, other: &ProcessUtilizationSample) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ProcessUtilizationSample
impl StructuralPartialEq for ProcessUtilizationSample
Auto Trait Implementations§
impl RefUnwindSafe for ProcessUtilizationSample
impl Send for ProcessUtilizationSample
impl Sync for ProcessUtilizationSample
impl Unpin for ProcessUtilizationSample
impl UnwindSafe for ProcessUtilizationSample
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