pub struct CudaHtj2kEncodeProfileReport {
pub deinterleave_us: u128,
pub mct_us: u128,
pub dwt_us: u128,
pub quantize_us: u128,
pub ht_encode_us: u128,
pub packetize_us: u128,
pub total_us: u128,
pub input_bytes: usize,
pub codestream_bytes: usize,
pub block_count: usize,
pub dispatch_count: usize,
pub backend: BackendKind,
}Expand description
Structured stage timings for a strict CUDA HTJ2K encode operation.
Fields§
§deinterleave_us: u128Pixel deinterleave and level-shift CUDA stage time.
mct_us: u128Forward MCT CUDA stage time.
dwt_us: u128Forward DWT CUDA stage time.
quantize_us: u128Quantization CUDA stage time.
ht_encode_us: u128HTJ2K cleanup code-block encode CUDA stage time.
packetize_us: u128HTJ2K packetization CUDA stage time.
total_us: u128Total wall time for the measured encode call.
input_bytes: usizeInput pixel byte count.
codestream_bytes: usizeOutput codestream byte count.
block_count: usizeNumber of HTJ2K code blocks encoded.
dispatch_count: usizeNumber of CUDA kernel dispatches.
backend: BackendKindBackend that satisfied the encode request.
Implementations§
Trait Implementations§
Source§impl Clone for CudaHtj2kEncodeProfileReport
impl Clone for CudaHtj2kEncodeProfileReport
Source§fn clone(&self) -> CudaHtj2kEncodeProfileReport
fn clone(&self) -> CudaHtj2kEncodeProfileReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CudaHtj2kEncodeProfileReport
impl Debug for CudaHtj2kEncodeProfileReport
impl Eq for CudaHtj2kEncodeProfileReport
Source§impl PartialEq for CudaHtj2kEncodeProfileReport
impl PartialEq for CudaHtj2kEncodeProfileReport
Source§fn eq(&self, other: &CudaHtj2kEncodeProfileReport) -> bool
fn eq(&self, other: &CudaHtj2kEncodeProfileReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CudaHtj2kEncodeProfileReport
Auto Trait Implementations§
impl Freeze for CudaHtj2kEncodeProfileReport
impl RefUnwindSafe for CudaHtj2kEncodeProfileReport
impl Send for CudaHtj2kEncodeProfileReport
impl Sync for CudaHtj2kEncodeProfileReport
impl Unpin for CudaHtj2kEncodeProfileReport
impl UnsafeUnpin for CudaHtj2kEncodeProfileReport
impl UnwindSafe for CudaHtj2kEncodeProfileReport
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<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>
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 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>
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