Struct nvml_wrapper::struct_wrappers::device::FbcSessionInfo
source · pub struct FbcSessionInfo {
pub session_id: u32,
pub pid: u32,
pub vgpu_instance: Option<u32>,
pub display_ordinal: u32,
pub session_type: FbcSessionType,
pub session_flags: FbcFlags,
pub hres_max: u32,
pub vres_max: u32,
pub hres: u32,
pub vres: u32,
pub average_fps: u32,
pub average_latency: u32,
}
Expand description
Information about a frame buffer capture session.
Fields§
§session_id: u32
Unique session ID
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).
display_ordinal: u32
The identifier of the display this session is running on
session_type: FbcSessionType
The type of this session
session_flags: FbcFlags
Various flags with info
hres_max: u32
The maximum horizontal resolution supported by this session
vres_max: u32
The maximum vertical resolution supported by this session
hres: u32
The horizontal resolution requested by the caller in the capture call
vres: u32
The vertical resolution requested by the caller in the capture call
average_fps: u32
Moving average of new frames captured per second for this session
average_latency: u32
Moving average of new frame capture latency in microseconds for this session
Trait Implementations§
source§impl Clone for FbcSessionInfo
impl Clone for FbcSessionInfo
source§fn clone(&self) -> FbcSessionInfo
fn clone(&self) -> FbcSessionInfo
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 FbcSessionInfo
impl Debug for FbcSessionInfo
source§impl PartialEq for FbcSessionInfo
impl PartialEq for FbcSessionInfo
source§fn eq(&self, other: &FbcSessionInfo) -> bool
fn eq(&self, other: &FbcSessionInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<nvmlFBCSessionInfo_st> for FbcSessionInfo
impl TryFrom<nvmlFBCSessionInfo_st> for FbcSessionInfo
impl Eq for FbcSessionInfo
impl StructuralPartialEq for FbcSessionInfo
Auto Trait Implementations§
impl RefUnwindSafe for FbcSessionInfo
impl Send for FbcSessionInfo
impl Sync for FbcSessionInfo
impl Unpin for FbcSessionInfo
impl UnwindSafe for FbcSessionInfo
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