#[non_exhaustive]pub struct RouteCounters {Show 38 fields
pub total_frames: u64,
pub cpu_input_frames: u64,
pub gpu_input_decode_frames: u64,
pub gpu_encode_frames: u64,
pub gpu_validation_frames: u64,
pub gray_frames: u64,
pub rgb_like_frames: u64,
pub other_component_frames: u64,
pub unknown_pixel_profile_frames: u64,
pub bits8_frames: u64,
pub bits16_frames: u64,
pub other_bit_depth_frames: u64,
pub gpu_transcode_frames: u64,
pub resident_gpu_transcode_frames: u64,
pub partial_gpu_transcode_frames: u64,
pub gpu_input_decode_batches: u64,
pub gpu_compose_batches: u64,
pub gpu_encode_batches: u64,
pub auto_route_probe_frames: u64,
pub auto_route_probe_gpu_batches: u64,
pub auto_route_probe_cpu_micros: u128,
pub auto_route_probe_gpu_micros: u128,
pub auto_route_probe_selected_gpu_input_frames: u64,
pub cpu_fallback_frames: u64,
pub jpeg_passthrough_frames: u64,
pub j2k_passthrough_frames: u64,
pub j2k_direct_htj2k_frames: u64,
pub jpeg_retile_frames: u64,
pub jpeg_retile_rejected_frames: u64,
pub jpeg_retile_source_unsupported_frames: u64,
pub jpeg_retile_geometry_mismatch_frames: u64,
pub jpeg_retile_profile_unsupported_frames: u64,
pub jpeg_retile_mcu_invalid_frames: u64,
pub jpeg_retile_us: u128,
pub jpeg_retile_to_htj2k_53_frames: u64,
pub jpeg_cpu_encode_frames: u64,
pub jpeg_metal_encode_frames: u64,
pub jpeg_decode_fallback_frames: u64,
}Expand description
Route, pixel-profile, and non-GPU-specific frame counters.
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.total_frames: u64Total frames handled by the report scope.
cpu_input_frames: u64Frames whose source pixels were prepared on CPU.
gpu_input_decode_frames: u64Frames decoded from source tiles on GPU.
gpu_encode_frames: u64Frames encoded on GPU.
gpu_validation_frames: u64Frames validated with GPU decode.
gray_frames: u64Frames classified as grayscale.
rgb_like_frames: u64Frames classified as RGB-like.
other_component_frames: u64Frames with a component count other than gray or RGB-like.
unknown_pixel_profile_frames: u64Frames whose pixel profile could not be classified.
bits8_frames: u64Frames with 8-bit samples.
bits16_frames: u64Frames with 16-bit samples.
other_bit_depth_frames: u64Frames with another bit depth.
gpu_transcode_frames: u64Frames using a GPU transcode route.
resident_gpu_transcode_frames: u64Frames using a resident GPU transcode route.
partial_gpu_transcode_frames: u64Frames using a mixed CPU/GPU transcode route.
gpu_input_decode_batches: u64GPU input decode batch count.
gpu_compose_batches: u64GPU composition batch count.
gpu_encode_batches: u64GPU encode batch count.
auto_route_probe_frames: u64Frames sampled by automatic route probes.
auto_route_probe_gpu_batches: u64GPU batches dispatched by automatic route probes.
auto_route_probe_cpu_micros: u128CPU-side automatic route probe time in microseconds.
auto_route_probe_gpu_micros: u128GPU-side automatic route probe time in microseconds.
auto_route_probe_selected_gpu_input_frames: u64Frames routed to GPU input because an automatic probe selected it.
cpu_fallback_frames: u64Frames routed through CPU fallback.
jpeg_passthrough_frames: u64Frames emitted by JPEG Baseline passthrough.
j2k_passthrough_frames: u64Frames emitted by JPEG 2000 passthrough.
j2k_direct_htj2k_frames: u64Frames emitted by direct J2K-to-HTJ2K recoding.
jpeg_retile_frames: u64Frames re-tiled in the JPEG compressed domain.
jpeg_retile_rejected_frames: u64Frames rejected from JPEG compressed-domain retiling.
jpeg_retile_source_unsupported_frames: u64JPEG retile rejections because the source could not provide raw compressed tiles.
jpeg_retile_geometry_mismatch_frames: u64JPEG retile rejections because raw tile geometry did not match the requested frame.
jpeg_retile_profile_unsupported_frames: u64JPEG retile rejections because the JPEG pixel profile is unsupported for passthrough.
jpeg_retile_mcu_invalid_frames: u64JPEG retile rejections because the source MCU/restart table was invalid.
jpeg_retile_us: u128JPEG compressed-domain retiling time in microseconds.
jpeg_retile_to_htj2k_53_frames: u64JPEG-retiled frames then transcoded through HTJ2K 5/3.
jpeg_cpu_encode_frames: u64Frames encoded to JPEG on CPU.
jpeg_metal_encode_frames: u64Frames encoded to JPEG on Metal.
jpeg_decode_fallback_frames: u64Frames that required JPEG decode fallback.
Trait Implementations§
Source§impl Clone for RouteCounters
impl Clone for RouteCounters
Source§fn clone(&self) -> RouteCounters
fn clone(&self) -> RouteCounters
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 RouteCounters
Source§impl Debug for RouteCounters
impl Debug for RouteCounters
Source§impl Default for RouteCounters
impl Default for RouteCounters
Source§fn default() -> RouteCounters
fn default() -> RouteCounters
impl Eq for RouteCounters
Source§impl PartialEq for RouteCounters
impl PartialEq for RouteCounters
Source§impl Serialize for RouteCounters
impl Serialize for RouteCounters
impl StructuralPartialEq for RouteCounters
Auto Trait Implementations§
impl Freeze for RouteCounters
impl RefUnwindSafe for RouteCounters
impl Send for RouteCounters
impl Sync for RouteCounters
impl Unpin for RouteCounters
impl UnsafeUnpin for RouteCounters
impl UnwindSafe for RouteCounters
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