pub struct RunStats {
pub frames: u64,
pub setup: Duration,
pub first_frame: Duration,
pub wall: Duration,
}Expand description
What a Pipeline::run did.
Fields§
§frames: u64Frames encoded.
setup: DurationTime before the first frame: opening, codec setup, LUT/shader upload (and, on the first run of a process, device init).
first_frame: DurationTime until the first frame was handed to the encoder.
wall: DurationTotal wall time.
Implementations§
Trait Implementations§
impl Copy for RunStats
impl Eq for RunStats
impl StructuralPartialEq for RunStats
Auto Trait Implementations§
impl Forget for RunStats
impl Freeze for RunStats
impl RefUnwindSafe for RunStats
impl Send for RunStats
impl Sync for RunStats
impl Unpin for RunStats
impl UnsafeUnpin for RunStats
impl UnwindSafe for RunStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.