pub struct Dwt97BatchStageTimings {Show 21 fields
pub pack_upload_us: u128,
pub pack_upload_transfers: usize,
pub pack_upload_bytes: u64,
pub resident_dct_handoff_count: usize,
pub idct_row_lift_us: u128,
pub column_lift_us: u128,
pub resident_dwt_handoff_count: usize,
pub quantize_codeblock_us: u128,
pub ht_encode_us: u128,
pub ht_kernel_us: u128,
pub ht_status_readback_us: u128,
pub ht_status_readback_transfers: usize,
pub ht_status_readback_bytes: u64,
pub ht_compact_us: u128,
pub ht_output_readback_us: u128,
pub ht_output_readback_transfers: usize,
pub ht_output_readback_bytes: u64,
pub ht_codeblock_dispatches: usize,
pub readback_us: u128,
pub readback_transfers: usize,
pub readback_bytes: u64,
}Expand description
Backend-specific timing breakdown for a same-geometry 9/7 batch.
Fields§
§pack_upload_us: u128Host packing, buffer allocation, and upload time in microseconds.
pack_upload_transfers: usizeLogical host-to-device transfers included in Self::pack_upload_us.
pack_upload_bytes: u64Host-to-device bytes included in Self::pack_upload_us.
resident_dct_handoff_count: usizeResident JPEG DCT-grid descriptors validated for this batch.
idct_row_lift_us: u128Time spent in the IDCT plus horizontal 9/7 row-lift stage.
column_lift_us: u128Time spent in the vertical 9/7 column-lift stage.
resident_dwt_handoff_count: usizeResident DWT subband descriptors validated for this batch.
quantize_codeblock_us: u128Time spent quantizing 9/7 bands into HTJ2K code-block layout.
ht_encode_us: u128Time spent HT-encoding resident code-block coefficients.
ht_kernel_us: u128Resident HT cleanup-pass encode kernel time in microseconds.
ht_status_readback_us: u128Resident HT status-buffer device-to-host readback time in microseconds.
ht_status_readback_transfers: usizeLogical device-to-host status readbacks included in Self::ht_status_readback_us.
ht_status_readback_bytes: u64Device-to-host status bytes included in Self::ht_status_readback_us.
ht_compact_us: u128Resident HT encoded-byte compaction kernel time in microseconds.
ht_output_readback_us: u128Resident HT compacted encoded-byte device-to-host readback time in microseconds.
ht_output_readback_transfers: usizeLogical device-to-host output readbacks included in Self::ht_output_readback_us.
ht_output_readback_bytes: u64Device-to-host output bytes included in Self::ht_output_readback_us.
ht_codeblock_dispatches: usizeNumber of HT code-block encode kernel dispatches in this batch.
readback_us: u128Time spent reading and unpacking Metal band buffers into host outputs.
readback_transfers: usizeLogical device-to-host transfers included in Self::readback_us.
readback_bytes: u64Device-to-host bytes included in Self::readback_us.
Trait Implementations§
Source§impl Clone for Dwt97BatchStageTimings
impl Clone for Dwt97BatchStageTimings
Source§fn clone(&self) -> Dwt97BatchStageTimings
fn clone(&self) -> Dwt97BatchStageTimings
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for Dwt97BatchStageTimings
Source§impl Debug for Dwt97BatchStageTimings
impl Debug for Dwt97BatchStageTimings
Source§impl Default for Dwt97BatchStageTimings
impl Default for Dwt97BatchStageTimings
Source§fn default() -> Dwt97BatchStageTimings
fn default() -> Dwt97BatchStageTimings
impl Eq for Dwt97BatchStageTimings
Source§impl PartialEq for Dwt97BatchStageTimings
impl PartialEq for Dwt97BatchStageTimings
Source§fn eq(&self, other: &Dwt97BatchStageTimings) -> bool
fn eq(&self, other: &Dwt97BatchStageTimings) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Dwt97BatchStageTimings
Auto Trait Implementations§
impl Freeze for Dwt97BatchStageTimings
impl RefUnwindSafe for Dwt97BatchStageTimings
impl Send for Dwt97BatchStageTimings
impl Sync for Dwt97BatchStageTimings
impl Unpin for Dwt97BatchStageTimings
impl UnsafeUnpin for Dwt97BatchStageTimings
impl UnwindSafe for Dwt97BatchStageTimings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more