Skip to main content

CpuBatchWorkspaceStats

Struct CpuBatchWorkspaceStats 

Source
pub struct CpuBatchWorkspaceStats { /* private fields */ }
Expand description

Aggregate reuse counters for native workspaces retained by a CPU batch session.

Implementations§

Source§

impl CpuBatchWorkspaceStats

Source

pub const fn preparation_calls(self) -> u64

Number of image plan preparations performed by retained session workers.

Source

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.

Source

pub const fn decode_calls(self) -> u64

Number of native image decode calls across retained workers.

Source

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.

Source

pub const fn component_owner_reuses(self) -> u64

Number of image decodes that reused an existing component owner.

Source

pub const fn tier1_owner_reuses(self) -> u64

Number of image decodes that began with retained Tier-1 owners.

Source

pub const fn idwt_owner_reuses(self) -> u64

Number of image decodes that began with retained IDWT owners.

Source

pub const fn scratch_capacity_retries(self) -> u64

Number of retained-scratch evictions followed by a fresh retry.

Source

pub const fn retained_component_bytes(self) -> usize

Total retained decoded-component capacity across workers.

Source

pub const fn retained_tier1_bytes(self) -> usize

Total retained classic and HT Tier-1 capacity across workers.

Source

pub const fn retained_idwt_bytes(self) -> usize

Total retained floating-point and exact-integer IDWT capacity across workers.

Source

pub const fn retained_prepared_plan_ht_workspace_bytes(self) -> usize

Total HT code-block workspace retained by parse-free prepared-plan workers.

Source

pub const fn retained_prepared_plan_classic_workspace_bytes(self) -> usize

Total classic code-block workspace retained by parse-free prepared-plan workers.

Source

pub const fn flattened_group_plans(self) -> u64

Number of homogeneous prepared groups flattened into one compressed arena.

Source

pub const fn flattened_payload_jobs(self) -> u64

Number of source-indexed code-block payload jobs flattened across images.

Source

pub const fn flattened_cleanup_jobs(self) -> u64

Number of flattened one-pass HT cleanup jobs.

Source

pub const fn flattened_sigprop_jobs(self) -> u64

Number of flattened two-pass HT SigProp jobs.

Source

pub const fn flattened_magref_jobs(self) -> u64

Number of flattened three-or-more-pass HT MagRef jobs.

Source

pub const fn flattened_classic_jobs(self) -> u64

Number of flattened classic JPEG 2000 code-block jobs.

Source

pub const fn entropy_job_dispatches(self) -> u64

Number of flattened code blocks submitted to retained CPU workers.

Source

pub const fn cross_image_entropy_windows(self) -> u64

Number of bounded entropy windows containing more than one image.

Source

pub const fn compressed_arena_reuses(self) -> u64

Number of group plans that reused the existing compressed arena capacity.

Source

pub const fn retained_compressed_arena_bytes(self) -> usize

Compressed payload arena capacity retained by the session.

Source

pub const fn output_group_allocations(self) -> u64

Number of successful final typed group allocations.

Source

pub const fn output_compaction_copied_samples(self) -> u64

Samples moved only to compact successful images after indexed decode failures.

Source

pub const fn retained_scratch_bytes(self) -> usize

Total retained lifetime-free decode scratch across workers.

Trait Implementations§

Source§

impl Clone for CpuBatchWorkspaceStats

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for CpuBatchWorkspaceStats

Source§

impl Debug for CpuBatchWorkspaceStats

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CpuBatchWorkspaceStats

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for CpuBatchWorkspaceStats

Source§

impl PartialEq for CpuBatchWorkspaceStats

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for CpuBatchWorkspaceStats

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, S> SimdFrom<T, S> for T
where S: Simd,

Source§

fn simd_from(_simd: S, value: T) -> T

Source§

impl<F, T, S> SimdInto<T, S> for F
where T: SimdFrom<F, S>, S: Simd,

Source§

fn simd_into(self, simd: S) -> T

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.