Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

WindowStats

Struct WindowStats 

Source
pub struct WindowStats {
Show 23 fields pub requests: u32, pub misses: u32, pub prefetch_requests: u32, pub issued: u32, pub pending_loads: u32, pub adopted: u32, pub promoted: u32, pub cancelled: u32, pub evictions: u32, pub failed_loads: u32, pub protected_full: u32, pub transport_full: u32, pub deferred: u32, pub backoff_skipped: u32, pub unknown_keys: u32, pub unconfigured: u32, pub over_budget: u32, pub table_full: u32, pub wanted_dropped: u32, pub eviction_overflow: u32, pub compactions: u32, pub pages_moved: u32, pub work_used: u32,
}
Expand description

Counters for one Residency::step window.

Fields§

§requests: u32

Wanted entries examined.

§misses: u32

Of those, entries not resident.

§prefetch_requests: u32

Wanted entries of class lead or lower.

§issued: u32

Reads issued to the transport.

§pending_loads: u32

Wanted entries whose bytes are read, landing or installing.

§adopted: u32

Wanted entries that were already in flight or landed though nothing wanted them last window: their work was adopted, not repeated.

§promoted: u32

In-flight requests promoted to a more urgent class.

§cancelled: u32

In-flight requests cancelled to make way for a demand.

§evictions: u32

Resources evicted.

§failed_loads: u32

Reads and installs that failed since the previous window.

§protected_full: u32

Requests that found no room even after evicting every allowed victim.

§transport_full: u32

Times issuing stopped because the transport was full.

§deferred: u32

Requests skipped because the CPU budget ran out.

§backoff_skipped: u32

Misses skipped because the resource is inside its retry backoff.

§unknown_keys: u32

Wanted keys the host does not know.

§unconfigured: u32

Wanted keys whose category is not configured.

§over_budget: u32

Requests that exceed their category’s page budget outright.

§table_full: u32

Requests dropped because the entry table was full.

§wanted_dropped: u32

Wanted entries beyond the table capacity, ignored.

§eviction_overflow: u32

Requests held back because the eviction report buffer was too small.

§compactions: u32

Runs moved by compaction.

§pages_moved: u32

Pages moved by compaction.

§work_used: u32

Bookkeeping work units spent (see the crate docs).

Trait Implementations§

Source§

impl Clone for WindowStats

Source§

fn clone(&self) -> WindowStats

Returns a duplicate of the value. Read more
1.0.0§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for WindowStats

Source§

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

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

impl Default for WindowStats

Source§

fn default() -> WindowStats

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

impl PartialEq for WindowStats

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for WindowStats

Source§

impl Eq for WindowStats

Source§

impl StructuralPartialEq for WindowStats

Auto Trait Implementations§

§

impl Freeze for WindowStats

§

impl RefUnwindSafe for WindowStats

§

impl Send for WindowStats

§

impl Sync for WindowStats

§

impl Unpin for WindowStats

§

impl UnsafeUnpin for WindowStats

§

impl UnwindSafe for WindowStats

Blanket Implementations§

§

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

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

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

§

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

Mutably borrows from an owned value. Read more
§

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

§

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
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

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

§

fn into(self) -> U

Calls U::from(self).

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

§

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

§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

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

§

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

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

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

Performs the conversion.