Struct nvml_wrapper::struct_wrappers::device::EncoderSessionInfo
source · pub struct EncoderSessionInfo {
pub session_id: u32,
pub pid: u32,
pub vgpu_instance: Option<u32>,
pub codec_type: EncoderType,
pub hres: u32,
pub vres: u32,
pub average_fps: u32,
pub average_latency: u32,
}
Expand description
Holds encoder session information.
Fields§
§session_id: u32
Unique ID for this session.
pid: u32
The ID of the process that owns this session.
vgpu_instance: Option<u32>
The ID of the vGPU instance that owns this session (if applicable).
codec_type: EncoderType
§hres: u32
Current horizontal encoding resolution.
vres: u32
Current vertical encoding resolution.
average_fps: u32
Moving average encode frames per second.
average_latency: u32
Moving average encode latency in μs.
Trait Implementations§
source§impl Clone for EncoderSessionInfo
impl Clone for EncoderSessionInfo
source§fn clone(&self) -> EncoderSessionInfo
fn clone(&self) -> EncoderSessionInfo
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 EncoderSessionInfo
impl Debug for EncoderSessionInfo
source§impl Hash for EncoderSessionInfo
impl Hash for EncoderSessionInfo
source§impl PartialEq for EncoderSessionInfo
impl PartialEq for EncoderSessionInfo
source§fn eq(&self, other: &EncoderSessionInfo) -> bool
fn eq(&self, other: &EncoderSessionInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EncoderSessionInfo
impl StructuralPartialEq for EncoderSessionInfo
Auto Trait Implementations§
impl RefUnwindSafe for EncoderSessionInfo
impl Send for EncoderSessionInfo
impl Sync for EncoderSessionInfo
impl Unpin for EncoderSessionInfo
impl UnwindSafe for EncoderSessionInfo
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