pub struct CompositorTelemetry {
pub total_frames_composited: u64,
pub total_frames_dropped: u64,
pub last_frame_time_us: u64,
pub p95_frame_time_us: u64,
/* private fields */
}Expand description
Telemetry metrics for the zero-copy compositor.
Fields§
§total_frames_composited: u64§total_frames_dropped: u64§last_frame_time_us: u64§p95_frame_time_us: u64Implementations§
Source§impl CompositorTelemetry
impl CompositorTelemetry
pub fn record_frame(&mut self, latency_us: u64)
Trait Implementations§
Source§impl Clone for CompositorTelemetry
impl Clone for CompositorTelemetry
Source§impl Debug for CompositorTelemetry
impl Debug for CompositorTelemetry
Auto Trait Implementations§
impl Forget for CompositorTelemetry
impl Freeze for CompositorTelemetry
impl Move for CompositorTelemetry
impl RefUnwindSafe for CompositorTelemetry
impl Send for CompositorTelemetry
impl Sync for CompositorTelemetry
impl Unpin for CompositorTelemetry
impl UnsafeUnpin for CompositorTelemetry
impl UnwindSafe for CompositorTelemetry
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