pub struct CpuBatchWorkspaceStats { /* private fields */ }Expand description
Aggregate reuse counters for native workspaces retained by a CPU batch session.
Implementations§
Source§impl CpuBatchWorkspaceStats
impl CpuBatchWorkspaceStats
Sourcepub const fn preparation_calls(self) -> u64
pub const fn preparation_calls(self) -> u64
Number of image plan preparations performed by retained session workers.
Sourcepub const fn preparation_worker_reuses(self) -> u64
pub const fn preparation_worker_reuses(self) -> u64
Number of image preparations performed by a worker that had already completed at least one earlier preparation.
Sourcepub const fn decode_calls(self) -> u64
pub const fn decode_calls(self) -> u64
Number of native image decode calls across retained workers.
Sourcepub const fn prepared_plan_decode_calls(self) -> u64
pub const fn prepared_plan_decode_calls(self) -> u64
Number of image decodes executed from retained codec geometry without constructing or reparsing a native image decoder.
Sourcepub const fn component_owner_reuses(self) -> u64
pub const fn component_owner_reuses(self) -> u64
Number of image decodes that reused an existing component owner.
Sourcepub const fn tier1_owner_reuses(self) -> u64
pub const fn tier1_owner_reuses(self) -> u64
Number of image decodes that began with retained Tier-1 owners.
Sourcepub const fn idwt_owner_reuses(self) -> u64
pub const fn idwt_owner_reuses(self) -> u64
Number of image decodes that began with retained IDWT owners.
Sourcepub const fn scratch_capacity_retries(self) -> u64
pub const fn scratch_capacity_retries(self) -> u64
Number of retained-scratch evictions followed by a fresh retry.
Sourcepub const fn retained_component_bytes(self) -> usize
pub const fn retained_component_bytes(self) -> usize
Total retained decoded-component capacity across workers.
Sourcepub const fn retained_tier1_bytes(self) -> usize
pub const fn retained_tier1_bytes(self) -> usize
Total retained classic and HT Tier-1 capacity across workers.
Sourcepub const fn retained_idwt_bytes(self) -> usize
pub const fn retained_idwt_bytes(self) -> usize
Total retained floating-point and exact-integer IDWT capacity across workers.
Sourcepub const fn retained_prepared_plan_ht_workspace_bytes(self) -> usize
pub const fn retained_prepared_plan_ht_workspace_bytes(self) -> usize
Total HT code-block workspace retained by parse-free prepared-plan workers.
Sourcepub const fn retained_prepared_plan_classic_workspace_bytes(self) -> usize
pub const fn retained_prepared_plan_classic_workspace_bytes(self) -> usize
Total classic code-block workspace retained by parse-free prepared-plan workers.
Sourcepub const fn flattened_group_plans(self) -> u64
pub const fn flattened_group_plans(self) -> u64
Number of homogeneous prepared groups flattened into one compressed arena.
Sourcepub const fn flattened_payload_jobs(self) -> u64
pub const fn flattened_payload_jobs(self) -> u64
Number of source-indexed code-block payload jobs flattened across images.
Sourcepub const fn flattened_cleanup_jobs(self) -> u64
pub const fn flattened_cleanup_jobs(self) -> u64
Number of flattened one-pass HT cleanup jobs.
Sourcepub const fn flattened_sigprop_jobs(self) -> u64
pub const fn flattened_sigprop_jobs(self) -> u64
Number of flattened two-pass HT SigProp jobs.
Sourcepub const fn flattened_magref_jobs(self) -> u64
pub const fn flattened_magref_jobs(self) -> u64
Number of flattened three-or-more-pass HT MagRef jobs.
Sourcepub const fn flattened_classic_jobs(self) -> u64
pub const fn flattened_classic_jobs(self) -> u64
Number of flattened classic JPEG 2000 code-block jobs.
Sourcepub const fn entropy_job_dispatches(self) -> u64
pub const fn entropy_job_dispatches(self) -> u64
Number of flattened code blocks submitted to retained CPU workers.
Sourcepub const fn cross_image_entropy_windows(self) -> u64
pub const fn cross_image_entropy_windows(self) -> u64
Number of bounded entropy windows containing more than one image.
Sourcepub const fn compressed_arena_reuses(self) -> u64
pub const fn compressed_arena_reuses(self) -> u64
Number of group plans that reused the existing compressed arena capacity.
Sourcepub const fn retained_compressed_arena_bytes(self) -> usize
pub const fn retained_compressed_arena_bytes(self) -> usize
Compressed payload arena capacity retained by the session.
Sourcepub const fn output_group_allocations(self) -> u64
pub const fn output_group_allocations(self) -> u64
Number of successful final typed group allocations.
Sourcepub const fn output_compaction_copied_samples(self) -> u64
pub const fn output_compaction_copied_samples(self) -> u64
Samples moved only to compact successful images after indexed decode failures.
Sourcepub const fn retained_scratch_bytes(self) -> usize
pub const fn retained_scratch_bytes(self) -> usize
Total retained lifetime-free decode scratch across workers.
Trait Implementations§
Source§impl Clone for CpuBatchWorkspaceStats
impl Clone for CpuBatchWorkspaceStats
impl Copy for CpuBatchWorkspaceStats
Source§impl Debug for CpuBatchWorkspaceStats
impl Debug for CpuBatchWorkspaceStats
Source§impl Default for CpuBatchWorkspaceStats
impl Default for CpuBatchWorkspaceStats
impl Eq for CpuBatchWorkspaceStats
Source§impl PartialEq for CpuBatchWorkspaceStats
impl PartialEq for CpuBatchWorkspaceStats
impl StructuralPartialEq for CpuBatchWorkspaceStats
Auto Trait Implementations§
impl Freeze for CpuBatchWorkspaceStats
impl RefUnwindSafe for CpuBatchWorkspaceStats
impl Send for CpuBatchWorkspaceStats
impl Sync for CpuBatchWorkspaceStats
impl Unpin for CpuBatchWorkspaceStats
impl UnsafeUnpin for CpuBatchWorkspaceStats
impl UnwindSafe for CpuBatchWorkspaceStats
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<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