pub struct TranscodeTimingReport {Show 46 fields
pub source_raw_probe_us: u128,
pub read_region_decode_us: u128,
pub compose_pad_us: u128,
pub generated_jpeg_encode_us: u128,
pub jpeg_dct_extract_us: u128,
pub jpeg_dct_repack_us: u128,
pub dct_to_wavelet_total_us: u128,
pub dct_to_wavelet_accelerator_us: u128,
pub dct_to_wavelet_cpu_fallback_us: u128,
pub dwt_decompose_us: u128,
pub dwt97_batch_pack_upload_us: u128,
pub dwt97_batch_pack_upload_transfers: usize,
pub dwt97_batch_pack_upload_bytes: u64,
pub dwt97_batch_resident_dct_handoff_count: usize,
pub dwt97_batch_idct_row_lift_us: u128,
pub dwt97_batch_column_lift_us: u128,
pub dwt97_batch_resident_dwt_handoff_count: usize,
pub dwt97_batch_quantize_codeblock_us: u128,
pub dwt97_batch_ht_encode_us: u128,
pub dwt97_batch_ht_kernel_us: u128,
pub dwt97_batch_ht_status_readback_us: u128,
pub dwt97_batch_ht_status_readback_transfers: usize,
pub dwt97_batch_ht_status_readback_bytes: u64,
pub dwt97_batch_ht_compact_us: u128,
pub dwt97_batch_ht_output_readback_us: u128,
pub dwt97_batch_ht_output_readback_transfers: usize,
pub dwt97_batch_ht_output_readback_bytes: u64,
pub dwt97_batch_ht_codeblock_dispatches: usize,
pub dwt97_batch_readback_us: u128,
pub dwt97_batch_readback_transfers: usize,
pub dwt97_batch_readback_bytes: u64,
pub htj2k_encode_us: u128,
pub htj2k_encode_accelerator_dispatches: usize,
pub htj2k_encode_ht_code_block_dispatches: usize,
pub htj2k_encode_packetization_dispatches: usize,
pub dicom_spool_write_us: u128,
pub dicom_final_write_us: u128,
pub tile_count: usize,
pub component_count: usize,
pub batch_count: usize,
pub batch_jobs: usize,
pub accelerator_attempts: usize,
pub accelerator_jobs: usize,
pub accelerator_dispatches: usize,
pub accelerator_dispatched_jobs: usize,
pub cpu_fallback_jobs: usize,
}Expand description
Detailed timing and dispatch counters for JPEG-to-HTJ2K transcode.
Durations are wall-clock microseconds measured around the current Rust API boundaries. Accelerator time includes backend submission and wait overhead visible to this crate; backend-specific hardware counters are not exposed here.
Fields§
§source_raw_probe_us: u128Raw compressed-tile probe/read time before JPEG DCT extraction.
read_region_decode_us: u128Source region decode time for strip/retile workflows.
compose_pad_us: u128Region compose/pad time for generated regular tiles.
generated_jpeg_encode_us: u128JPEG encode time when the workflow generates regular JPEG tiles.
jpeg_dct_extract_us: u128JPEG DCT extraction time in microseconds.
jpeg_dct_repack_us: u128Time spent repacking integer DCT coefficients into float block grids.
dct_to_wavelet_total_us: u128Total wall time spent producing DWT bands from JPEG DCT coefficients.
dct_to_wavelet_accelerator_us: u128Wall time spent inside accelerator hook calls.
dct_to_wavelet_cpu_fallback_us: u128Wall time spent in scalar CPU fallback transforms.
dwt_decompose_us: u128Time spent decomposing first-level DWT output into requested levels.
dwt97_batch_pack_upload_us: u128Backend 9/7 batch host pack/upload time in microseconds.
dwt97_batch_pack_upload_transfers: usizeLogical host-to-device transfers during backend 9/7 batch pack/upload.
dwt97_batch_pack_upload_bytes: u64Host-to-device bytes during backend 9/7 batch pack/upload.
dwt97_batch_resident_dct_handoff_count: usizeResident JPEG DCT-grid descriptors validated during backend 9/7 batches.
dwt97_batch_idct_row_lift_us: u128Backend 9/7 batch IDCT plus horizontal row-lift time in microseconds.
dwt97_batch_column_lift_us: u128Backend 9/7 batch vertical column-lift time in microseconds.
dwt97_batch_resident_dwt_handoff_count: usizeResident DWT subband descriptors validated during backend 9/7 batches.
dwt97_batch_quantize_codeblock_us: u128Backend 9/7 batch quantize/code-block layout time in microseconds.
dwt97_batch_ht_encode_us: u128Backend 9/7 resident HT code-block encode time in microseconds.
dwt97_batch_ht_kernel_us: u128Backend 9/7 resident HT cleanup-pass encode kernel time in microseconds.
dwt97_batch_ht_status_readback_us: u128Backend 9/7 resident HT status-buffer device-to-host readback time in microseconds.
dwt97_batch_ht_status_readback_transfers: usizeLogical device-to-host status readbacks after resident HT encode.
dwt97_batch_ht_status_readback_bytes: u64Device-to-host status bytes after resident HT encode.
dwt97_batch_ht_compact_us: u128Backend 9/7 resident HT encoded-byte compaction kernel time in microseconds.
dwt97_batch_ht_output_readback_us: u128Backend 9/7 resident HT compacted encoded-byte device-to-host readback time in microseconds.
dwt97_batch_ht_output_readback_transfers: usizeLogical device-to-host output readbacks after resident HT compaction.
dwt97_batch_ht_output_readback_bytes: u64Device-to-host output bytes after resident HT compaction.
dwt97_batch_ht_codeblock_dispatches: usizeBackend 9/7 resident HT code-block encode dispatches.
dwt97_batch_readback_us: u128Backend 9/7 batch output readback/unpack time in microseconds.
dwt97_batch_readback_transfers: usizeLogical device-to-host transfers during backend 9/7 batch output readback.
dwt97_batch_readback_bytes: u64Device-to-host bytes during backend 9/7 batch output readback.
htj2k_encode_us: u128HTJ2K encode time in microseconds.
htj2k_encode_accelerator_dispatches: usizeEncode-stage accelerator dispatches during HTJ2K encode.
htj2k_encode_ht_code_block_dispatches: usizeHT cleanup code-block accelerator dispatches during HTJ2K encode.
htj2k_encode_packetization_dispatches: usizePacketization accelerator dispatches during HTJ2K encode.
dicom_spool_write_us: u128Time spent writing compressed frames to a DICOM PixelData spool.
dicom_final_write_us: u128Time spent writing final DICOM instances.
tile_count: usizeNumber of source tiles represented by this timing report.
component_count: usizeNumber of components transformed into wavelet bands.
batch_count: usizeNumber of same-geometry transform batches offered to the accelerator.
batch_jobs: usizeNumber of component jobs in same-geometry transform batches.
accelerator_attempts: usizeNumber of accelerator hook calls.
accelerator_jobs: usizeNumber of component jobs offered through accelerator hook calls.
accelerator_dispatches: usizeNumber of accelerator hook calls that returned an accelerated result.
accelerator_dispatched_jobs: usizeNumber of component jobs completed by accelerated results.
cpu_fallback_jobs: usizeNumber of component jobs completed by scalar CPU fallback transforms.
Implementations§
Source§impl TranscodeTimingReport
impl TranscodeTimingReport
Sourcepub fn pipeline_map(&self) -> TranscodePipelineMap
pub fn pipeline_map(&self) -> TranscodePipelineMap
Convert this timing report into a CPU/Metal transcode pipeline map.
Trait Implementations§
Source§impl Clone for TranscodeTimingReport
impl Clone for TranscodeTimingReport
Source§fn clone(&self) -> TranscodeTimingReport
fn clone(&self) -> TranscodeTimingReport
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 TranscodeTimingReport
Source§impl Debug for TranscodeTimingReport
impl Debug for TranscodeTimingReport
Source§impl Default for TranscodeTimingReport
impl Default for TranscodeTimingReport
Source§fn default() -> TranscodeTimingReport
fn default() -> TranscodeTimingReport
impl Eq for TranscodeTimingReport
Source§impl PartialEq for TranscodeTimingReport
impl PartialEq for TranscodeTimingReport
Source§fn eq(&self, other: &TranscodeTimingReport) -> bool
fn eq(&self, other: &TranscodeTimingReport) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TranscodeTimingReport
Auto Trait Implementations§
impl Freeze for TranscodeTimingReport
impl RefUnwindSafe for TranscodeTimingReport
impl Send for TranscodeTimingReport
impl Sync for TranscodeTimingReport
impl Unpin for TranscodeTimingReport
impl UnsafeUnpin for TranscodeTimingReport
impl UnwindSafe for TranscodeTimingReport
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