pub struct BackgroundPrefetchReport { /* private fields */ }Expand description
Immutable observations from one bounded background prefetch executor.
Implementations§
Source§impl BackgroundPrefetchReport
impl BackgroundPrefetchReport
Sourcepub const fn coalesced(self) -> u64
pub const fn coalesced(self) -> u64
Duplicate or already-resident requests folded into existing work.
Sourcepub const fn queue_capacity(self) -> usize
pub const fn queue_capacity(self) -> usize
Maximum number of admitted operations awaiting execution.
Sourcepub const fn peak_queue_occupancy(self) -> usize
pub const fn peak_queue_occupancy(self) -> usize
Largest observed admitted queue occupancy.
Sourcepub const fn backpressure_count(self) -> u64
pub const fn backpressure_count(self) -> u64
Submissions that encountered full admission capacity.
Sourcepub const fn backpressure_duration(self) -> Duration
pub const fn backpressure_duration(self) -> Duration
Cumulative wait time for resolved backpressure events.
Sourcepub const fn demand_waits(self) -> u64
pub const fn demand_waits(self) -> u64
Demand acquisitions that waited for admitted or submitted work.
Sourcepub const fn demand_wait_duration(self) -> Duration
pub const fn demand_wait_duration(self) -> Duration
Time spent waiting for demanded work.
Sourcepub const fn ready_before_demand(self) -> u64
pub const fn ready_before_demand(self) -> u64
Completed prefetches consumed by demand before eviction.
Sourcepub const fn in_flight_at_demand(self) -> u64
pub const fn in_flight_at_demand(self) -> u64
Prefetches already submitted to the backend when first demanded.
Sourcepub const fn evicted_before_use(self) -> u64
pub const fn evicted_before_use(self) -> u64
Completed prefetches found evicted before first demand.
Trait Implementations§
Source§impl Clone for BackgroundPrefetchReport
impl Clone for BackgroundPrefetchReport
Source§fn clone(&self) -> BackgroundPrefetchReport
fn clone(&self) -> BackgroundPrefetchReport
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 BackgroundPrefetchReport
Source§impl Debug for BackgroundPrefetchReport
impl Debug for BackgroundPrefetchReport
Source§impl Default for BackgroundPrefetchReport
impl Default for BackgroundPrefetchReport
Source§fn default() -> BackgroundPrefetchReport
fn default() -> BackgroundPrefetchReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BackgroundPrefetchReport
impl<'de> Deserialize<'de> for BackgroundPrefetchReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BackgroundPrefetchReport
Source§impl PartialEq for BackgroundPrefetchReport
impl PartialEq for BackgroundPrefetchReport
Source§impl Serialize for BackgroundPrefetchReport
impl Serialize for BackgroundPrefetchReport
impl StructuralPartialEq for BackgroundPrefetchReport
Auto Trait Implementations§
impl Freeze for BackgroundPrefetchReport
impl RefUnwindSafe for BackgroundPrefetchReport
impl Send for BackgroundPrefetchReport
impl Sync for BackgroundPrefetchReport
impl Unpin for BackgroundPrefetchReport
impl UnsafeUnpin for BackgroundPrefetchReport
impl UnwindSafe for BackgroundPrefetchReport
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