#[non_exhaustive]pub struct GpuEncodeMetrics {Show 20 fields
pub gpu_encode_configured_inflight_tiles: u64,
pub gpu_encode_effective_inflight_tiles: u64,
pub gpu_encode_max_observed_inflight_tiles: u64,
pub gpu_encode_configured_memory_mib: u64,
pub gpu_encode_effective_memory_mib: u64,
pub gpu_encode_wall_micros: u128,
pub gpu_encode_hardware_micros: u128,
pub gpu_encode_dispatch_overhead_micros: u128,
pub gpu_encode_plan_micros: u128,
pub gpu_encode_prepare_submit_micros: u128,
pub gpu_encode_ht_table_build_micros: u128,
pub gpu_encode_ht_buffer_allocation_micros: u128,
pub gpu_encode_ht_command_encode_micros: u128,
pub gpu_encode_codestream_wait_micros: u128,
pub gpu_encode_chunk_count: u64,
pub gpu_encode_tile_count: u64,
pub gpu_encode_code_block_count: u64,
pub gpu_pipeline_depth: u64,
pub gpu_row_batch_rows_max: u64,
pub gpu_row_batch_target_tiles: u64,
}Expand description
GPU JPEG 2000 encode configuration, counters, and stage timings.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.gpu_encode_configured_inflight_tiles: u64Configured GPU encode in-flight tile count.
gpu_encode_effective_inflight_tiles: u64Effective GPU encode in-flight tile count.
gpu_encode_max_observed_inflight_tiles: u64Maximum observed GPU encode in-flight tile count.
gpu_encode_configured_memory_mib: u64Configured GPU encode memory budget in MiB.
gpu_encode_effective_memory_mib: u64Effective GPU encode memory budget in MiB.
gpu_encode_wall_micros: u128CPU-observed GPU encode wall time in microseconds.
gpu_encode_hardware_micros: u128GPU-reported encode hardware time in microseconds.
gpu_encode_dispatch_overhead_micros: u128Positive CPU dispatch overhead after subtracting hardware time.
gpu_encode_plan_micros: u128GPU encode planning time in microseconds.
gpu_encode_prepare_submit_micros: u128GPU encode prepare/submit time in microseconds.
gpu_encode_ht_table_build_micros: u128GPU HT table build time in microseconds.
gpu_encode_ht_buffer_allocation_micros: u128GPU HT buffer allocation time in microseconds.
gpu_encode_ht_command_encode_micros: u128GPU command encoding time in microseconds.
gpu_encode_codestream_wait_micros: u128GPU codestream wait/readback time in microseconds.
gpu_encode_chunk_count: u64GPU encode chunk count.
gpu_encode_tile_count: u64GPU encode tile count.
gpu_encode_code_block_count: u64GPU encode code-block count.
gpu_pipeline_depth: u64Effective GPU pipeline depth.
gpu_row_batch_rows_max: u64Maximum rows per GPU row batch.
gpu_row_batch_target_tiles: u64Target tiles per GPU row batch.
Implementations§
Source§impl GpuEncodeMetrics
impl GpuEncodeMetrics
Sourcepub fn effective_parallelism(&self) -> f64
pub fn effective_parallelism(&self) -> f64
Ratio of summed GPU encode hardware time to observed GPU encode wall time.
Trait Implementations§
Source§impl Clone for GpuEncodeMetrics
impl Clone for GpuEncodeMetrics
Source§fn clone(&self) -> GpuEncodeMetrics
fn clone(&self) -> GpuEncodeMetrics
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 GpuEncodeMetrics
Source§impl Debug for GpuEncodeMetrics
impl Debug for GpuEncodeMetrics
Source§impl Default for GpuEncodeMetrics
impl Default for GpuEncodeMetrics
Source§fn default() -> GpuEncodeMetrics
fn default() -> GpuEncodeMetrics
impl Eq for GpuEncodeMetrics
Source§impl PartialEq for GpuEncodeMetrics
impl PartialEq for GpuEncodeMetrics
Source§impl Serialize for GpuEncodeMetrics
impl Serialize for GpuEncodeMetrics
impl StructuralPartialEq for GpuEncodeMetrics
Auto Trait Implementations§
impl Freeze for GpuEncodeMetrics
impl RefUnwindSafe for GpuEncodeMetrics
impl Send for GpuEncodeMetrics
impl Sync for GpuEncodeMetrics
impl Unpin for GpuEncodeMetrics
impl UnsafeUnpin for GpuEncodeMetrics
impl UnwindSafe for GpuEncodeMetrics
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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