pub struct CudaDecodePoolDiagnostics {
pub decode: Option<CudaDecodePoolSnapshot>,
pub batch_decode: Option<CudaDecodePoolSnapshot>,
}Expand description
Diagnostics for the two private pools retained by one CUDA codec session.
Fields§
§decode: Option<CudaDecodePoolSnapshot>General single-image/component decode pool, when initialized.
batch_decode: Option<CudaDecodePoolSnapshot>Best-fit dense batch decode pool, when initialized.
Implementations§
Source§impl CudaDecodePoolDiagnostics
impl CudaDecodePoolDiagnostics
Sourcepub fn retained_bytes(self) -> usize
pub fn retained_bytes(self) -> usize
Total device bytes currently retained by both initialized decode pools.
Sourcepub fn peak_retained_bytes_upper_bound(self) -> usize
pub fn peak_retained_bytes_upper_bound(self) -> usize
Conservative sum of the independent high-water bounds for both pools.
Trait Implementations§
Source§impl Clone for CudaDecodePoolDiagnostics
impl Clone for CudaDecodePoolDiagnostics
Source§fn clone(&self) -> CudaDecodePoolDiagnostics
fn clone(&self) -> CudaDecodePoolDiagnostics
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 CudaDecodePoolDiagnostics
Source§impl Debug for CudaDecodePoolDiagnostics
impl Debug for CudaDecodePoolDiagnostics
Source§impl Default for CudaDecodePoolDiagnostics
impl Default for CudaDecodePoolDiagnostics
Source§fn default() -> CudaDecodePoolDiagnostics
fn default() -> CudaDecodePoolDiagnostics
Returns the “default value” for a type. Read more
impl Eq for CudaDecodePoolDiagnostics
impl StructuralPartialEq for CudaDecodePoolDiagnostics
Auto Trait Implementations§
impl Freeze for CudaDecodePoolDiagnostics
impl RefUnwindSafe for CudaDecodePoolDiagnostics
impl Send for CudaDecodePoolDiagnostics
impl Sync for CudaDecodePoolDiagnostics
impl Unpin for CudaDecodePoolDiagnostics
impl UnsafeUnpin for CudaDecodePoolDiagnostics
impl UnwindSafe for CudaDecodePoolDiagnostics
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