Struct nvml_wrapper::structs::device::EncoderStats
source · pub struct EncoderStats {
pub session_count: u32,
pub average_fps: u32,
pub average_latency: u32,
}
Expand description
Returned from Device.encoder_stats()
Fields§
§session_count: u32
The number of active encoder sessions.
average_fps: u32
The trailing average FPS of all active encoder sessions.
average_latency: u32
The encode latency in μs.
Trait Implementations§
source§impl Clone for EncoderStats
impl Clone for EncoderStats
source§fn clone(&self) -> EncoderStats
fn clone(&self) -> EncoderStats
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 EncoderStats
impl Debug for EncoderStats
source§impl Hash for EncoderStats
impl Hash for EncoderStats
source§impl PartialEq for EncoderStats
impl PartialEq for EncoderStats
source§fn eq(&self, other: &EncoderStats) -> bool
fn eq(&self, other: &EncoderStats) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EncoderStats
impl StructuralPartialEq for EncoderStats
Auto Trait Implementations§
impl RefUnwindSafe for EncoderStats
impl Send for EncoderStats
impl Sync for EncoderStats
impl Unpin for EncoderStats
impl UnwindSafe for EncoderStats
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