Skip to main content

TranscodeTimingReport

Struct TranscodeTimingReport 

Source
pub struct TranscodeTimingReport {
Show 36 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_idct_row_lift_us: u128, pub dwt97_batch_column_lift_us: u128, 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_compact_us: u128, pub dwt97_batch_ht_output_readback_us: u128, pub dwt97_batch_ht_codeblock_dispatches: usize, pub dwt97_batch_readback_us: u128, 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: u128

Raw compressed-tile probe/read time before JPEG DCT extraction.

§read_region_decode_us: u128

Source region decode time for strip/retile workflows.

§compose_pad_us: u128

Region compose/pad time for generated regular tiles.

§generated_jpeg_encode_us: u128

JPEG encode time when the workflow generates regular JPEG tiles.

§jpeg_dct_extract_us: u128

JPEG DCT extraction time in microseconds.

§jpeg_dct_repack_us: u128

Time spent repacking integer DCT coefficients into float block grids.

§dct_to_wavelet_total_us: u128

Total wall time spent producing DWT bands from JPEG DCT coefficients.

§dct_to_wavelet_accelerator_us: u128

Wall time spent inside accelerator hook calls.

§dct_to_wavelet_cpu_fallback_us: u128

Wall time spent in scalar CPU fallback transforms.

§dwt_decompose_us: u128

Time spent decomposing first-level DWT output into requested levels.

§dwt97_batch_pack_upload_us: u128

Backend 9/7 batch host pack/upload time in microseconds.

§dwt97_batch_idct_row_lift_us: u128

Backend 9/7 batch IDCT plus horizontal row-lift time in microseconds.

§dwt97_batch_column_lift_us: u128

Backend 9/7 batch vertical column-lift time in microseconds.

§dwt97_batch_quantize_codeblock_us: u128

Backend 9/7 batch quantize/code-block layout time in microseconds.

§dwt97_batch_ht_encode_us: u128

Backend 9/7 resident HT code-block encode time in microseconds.

§dwt97_batch_ht_kernel_us: u128

Backend 9/7 resident HT cleanup-pass encode kernel time in microseconds.

§dwt97_batch_ht_status_readback_us: u128

Backend 9/7 resident HT status-buffer device-to-host readback time in microseconds.

§dwt97_batch_ht_compact_us: u128

Backend 9/7 resident HT encoded-byte compaction kernel time in microseconds.

§dwt97_batch_ht_output_readback_us: u128

Backend 9/7 resident HT compacted encoded-byte device-to-host readback time in microseconds.

§dwt97_batch_ht_codeblock_dispatches: usize

Backend 9/7 resident HT code-block encode dispatches.

§dwt97_batch_readback_us: u128

Backend 9/7 batch output readback/unpack time in microseconds.

§htj2k_encode_us: u128

HTJ2K encode time in microseconds.

§htj2k_encode_accelerator_dispatches: usize

Encode-stage accelerator dispatches during HTJ2K encode.

§htj2k_encode_ht_code_block_dispatches: usize

HT cleanup code-block accelerator dispatches during HTJ2K encode.

§htj2k_encode_packetization_dispatches: usize

Packetization accelerator dispatches during HTJ2K encode.

§dicom_spool_write_us: u128

Time spent writing compressed frames to a DICOM PixelData spool.

§dicom_final_write_us: u128

Time spent writing final DICOM instances.

§tile_count: usize

Number of source tiles represented by this timing report.

§component_count: usize

Number of components transformed into wavelet bands.

§batch_count: usize

Number of same-geometry transform batches offered to the accelerator.

§batch_jobs: usize

Number of component jobs in same-geometry transform batches.

§accelerator_attempts: usize

Number of accelerator hook calls.

§accelerator_jobs: usize

Number of component jobs offered through accelerator hook calls.

§accelerator_dispatches: usize

Number of accelerator hook calls that returned an accelerated result.

§accelerator_dispatched_jobs: usize

Number of component jobs completed by accelerated results.

§cpu_fallback_jobs: usize

Number of component jobs completed by scalar CPU fallback transforms.

Trait Implementations§

Source§

impl Clone for TranscodeTimingReport

Source§

fn clone(&self) -> TranscodeTimingReport

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for TranscodeTimingReport

Source§

impl Debug for TranscodeTimingReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for TranscodeTimingReport

Source§

fn default() -> TranscodeTimingReport

Returns the “default value” for a type. Read more
Source§

impl Eq for TranscodeTimingReport

Source§

impl PartialEq for TranscodeTimingReport

Source§

fn eq(&self, other: &TranscodeTimingReport) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for TranscodeTimingReport

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, S> SimdFrom<T, S> for T
where S: Simd,

Source§

fn simd_from(_simd: S, value: T) -> T

Source§

impl<F, T, S> SimdInto<T, S> for F
where T: SimdFrom<F, S>, S: Simd,

Source§

fn simd_into(self, simd: S) -> T

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.