pub struct Outcome {
pub stop: Stop,
pub shown: u32,
pub skipped: u32,
pub late: u32,
pub worst_late_vblanks: u32,
pub dropped: u32,
pub decode_errors: u32,
pub last_frame: u32,
pub vblanks: u32,
pub kcyc_vlc: u32,
pub kcyc_mdec: u32,
pub kcyc_wait: u32,
}Expand description
What happened, for logs and tests.
Fields§
§stop: StopWhy it ended.
shown: u32Frames shown.
skipped: u32Frames replaced before the decoder reached them.
late: u32Frames shown later than their due VBlank, and the worst lateness.
worst_late_vblanks: u32Most VBlanks any frame was shown after it was due.
dropped: u32Frames abandoned with sectors missing, and bitstream or MDEC failures.
decode_errors: u32Frames the bitstream decoder or the MDEC failed.
last_frame: u32Number of the last complete frame the stream delivered.
vblanks: u32VBlanks from the start of the stream to the return.
kcyc_vlc: u32CPU per decoded frame, in kilocycles: bitstream decode, MDEC and upload, and waiting.
kcyc_mdec: u32MDEC and upload time not overlapped with the bitstream decode.
kcyc_wait: u32Waiting for sectors or the flip.
Trait Implementations§
impl Copy for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)