Enum nvml_wrapper::enum_wrappers::device::Sampling
source · pub enum Sampling {
Power,
GpuUtilization,
MemoryUtilization,
EncoderUtilization,
DecoderUtilization,
ProcessorClock,
MemoryClock,
}
Expand description
Possible types of sampling events.
Variants§
Power
Total power drawn by GPU.
GpuUtilization
Percent of time during which one or more kernels was executing on the GPU.
MemoryUtilization
Percent of time during which global (device) memory was being read or written.
EncoderUtilization
Percent of time during which NVENC remains busy.
DecoderUtilization
Percent of time during which NVDEC remains busy.
ProcessorClock
Processor clock samples.
MemoryClock
Memory clock samples.
Implementations§
Trait Implementations§
source§impl PartialEq for Sampling
impl PartialEq for Sampling
impl Eq for Sampling
impl StructuralPartialEq for Sampling
Auto Trait Implementations§
impl RefUnwindSafe for Sampling
impl Send for Sampling
impl Sync for Sampling
impl Unpin for Sampling
impl UnwindSafe for Sampling
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