pub struct MetalLosslessEncodeBatchStats {
pub configured_inflight_tiles: Option<usize>,
pub effective_inflight_tiles: usize,
pub configured_memory_budget_bytes: Option<usize>,
pub effective_memory_budget_bytes: usize,
pub estimated_peak_bytes_per_tile: usize,
pub max_observed_inflight_tiles: usize,
pub encode_wall_duration: Duration,
pub stage_stats: MetalLosslessEncodeStageStats,
}Expand description
Resolved resident Metal lossless J2K/HTJ2K tile batch encode metrics.
Fields§
§configured_inflight_tiles: Option<usize>Caller-requested maximum number of in-flight tiles.
effective_inflight_tiles: usizeEffective maximum number of in-flight tiles after clamping.
configured_memory_budget_bytes: Option<usize>Caller-requested resident encode memory budget in bytes.
effective_memory_budget_bytes: usizeEffective resident encode memory budget in bytes.
estimated_peak_bytes_per_tile: usizeEstimated peak resident memory required per tile.
max_observed_inflight_tiles: usizeMaximum observed in-flight tiles during the batch.
encode_wall_duration: DurationEnd-to-end wall time for the batch encode.
stage_stats: MetalLosslessEncodeStageStatsResident encode stage timing summary.
Trait Implementations§
Source§impl Clone for MetalLosslessEncodeBatchStats
impl Clone for MetalLosslessEncodeBatchStats
Source§fn clone(&self) -> MetalLosslessEncodeBatchStats
fn clone(&self) -> MetalLosslessEncodeBatchStats
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 moreimpl Copy for MetalLosslessEncodeBatchStats
Source§impl Default for MetalLosslessEncodeBatchStats
impl Default for MetalLosslessEncodeBatchStats
Source§fn default() -> MetalLosslessEncodeBatchStats
fn default() -> MetalLosslessEncodeBatchStats
Returns the “default value” for a type. Read more
impl Eq for MetalLosslessEncodeBatchStats
Source§impl PartialEq for MetalLosslessEncodeBatchStats
impl PartialEq for MetalLosslessEncodeBatchStats
Source§fn eq(&self, other: &MetalLosslessEncodeBatchStats) -> bool
fn eq(&self, other: &MetalLosslessEncodeBatchStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MetalLosslessEncodeBatchStats
Auto Trait Implementations§
impl Freeze for MetalLosslessEncodeBatchStats
impl RefUnwindSafe for MetalLosslessEncodeBatchStats
impl Send for MetalLosslessEncodeBatchStats
impl Sync for MetalLosslessEncodeBatchStats
impl Unpin for MetalLosslessEncodeBatchStats
impl UnsafeUnpin for MetalLosslessEncodeBatchStats
impl UnwindSafe for MetalLosslessEncodeBatchStats
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