#[non_exhaustive]pub struct ReaderStatistics { /* private fields */ }Expand description
Cumulative performance counters for one shared AFF4 payload cache.
Physical readers for disks in the same discovered volume set share these counters and the cache itself.
Implementations§
Source§impl ReaderStatistics
impl ReaderStatistics
Sourcepub fn decoded_cache_hits(&self) -> u64
pub fn decoded_cache_hits(&self) -> u64
Returns decoded chunk-cache hits.
Sourcepub fn decoded_cache_misses(&self) -> u64
pub fn decoded_cache_misses(&self) -> u64
Returns decoded chunk-cache misses.
Sourcepub fn read_ahead_cache_hits(&self) -> u64
pub fn read_ahead_cache_hits(&self) -> u64
Returns logical read-ahead page-cache hits.
Sourcepub fn read_ahead_cache_misses(&self) -> u64
pub fn read_ahead_cache_misses(&self) -> u64
Returns logical read-ahead page-cache misses.
Sourcepub fn read_ahead_prefetches(&self) -> u64
pub fn read_ahead_prefetches(&self) -> u64
Returns logical pages fetched automatically after small positioned reads.
Sourcepub fn decoded_cache_evictions(&self) -> u64
pub fn decoded_cache_evictions(&self) -> u64
Returns decoded pages or chunks evicted to retain the automatic memory bound.
Sourcepub fn decoded_bytes(&self) -> u64
pub fn decoded_bytes(&self) -> u64
Returns logical chunk bytes decoded after cache misses.
Sourcepub fn decode_nanos(&self) -> u64
pub fn decode_nanos(&self) -> u64
Returns nanoseconds spent decoding chunks after cache misses.
Sourcepub fn stored_member_range_reads(&self) -> u64
pub fn stored_member_range_reads(&self) -> u64
Returns direct range reads from uncompressed ZIP members.
Sourcepub fn stored_member_range_bytes(&self) -> u64
pub fn stored_member_range_bytes(&self) -> u64
Returns bytes read directly from uncompressed ZIP members.
Sourcepub fn saturating_delta(self, earlier: Self) -> Self
pub fn saturating_delta(self, earlier: Self) -> Self
Returns a field-wise saturating delta from an earlier snapshot.
Trait Implementations§
Source§impl Clone for ReaderStatistics
impl Clone for ReaderStatistics
impl Copy for ReaderStatistics
Source§impl Debug for ReaderStatistics
impl Debug for ReaderStatistics
Source§impl Default for ReaderStatistics
impl Default for ReaderStatistics
impl Eq for ReaderStatistics
Source§impl PartialEq for ReaderStatistics
impl PartialEq for ReaderStatistics
Source§impl Serialize for ReaderStatistics
impl Serialize for ReaderStatistics
impl StructuralPartialEq for ReaderStatistics
Auto Trait Implementations§
impl Freeze for ReaderStatistics
impl RefUnwindSafe for ReaderStatistics
impl Send for ReaderStatistics
impl Sync for ReaderStatistics
impl Unpin for ReaderStatistics
impl UnsafeUnpin for ReaderStatistics
impl UnwindSafe for ReaderStatistics
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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> 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