Struct nvml_wrapper::struct_wrappers::device::FbcStats
source · pub struct FbcStats {
pub sessions_count: u32,
pub average_fps: u32,
pub average_latency: u32,
}
Expand description
Holds global frame buffer capture session statistics.
Fields§
§sessions_count: u32
The total number of sessions
average_fps: u32
Moving average of new frames captured per second for all capture sessions
average_latency: u32
Moving average of new frame capture latency in microseconds for all capture sessions
Trait Implementations§
source§impl From<nvmlFBCStats_st> for FbcStats
impl From<nvmlFBCStats_st> for FbcStats
source§fn from(struct_: nvmlFBCStats_t) -> Self
fn from(struct_: nvmlFBCStats_t) -> Self
Converts to this type from the input type.
source§impl PartialEq for FbcStats
impl PartialEq for FbcStats
impl Eq for FbcStats
impl StructuralPartialEq for FbcStats
Auto Trait Implementations§
impl RefUnwindSafe for FbcStats
impl Send for FbcStats
impl Sync for FbcStats
impl Unpin for FbcStats
impl UnwindSafe for FbcStats
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