#[non_exhaustive]pub struct CacheIoDirectionSnapshot {
pub requests_submitted: u64,
pub requests_succeeded: u64,
pub requests_cancelled: u64,
pub requests_failed: u64,
pub requests_in_flight: u64,
pub requests_in_flight_peak: u64,
pub slot_wait_ns: u64,
pub request_time_ns: u64,
pub buffered: CacheIoPathSnapshot,
pub direct: CacheIoPathSnapshot,
}Expand description
Cumulative engine-request and runtime-file-I/O statistics for one direction.
Request counters describe logical engine requests. Path counters describe positive runtime file operations and are not physical device I/O.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.requests_submitted: u64Requests accepted by the engine command queue.
requests_succeeded: u64Mutually exclusive terminal outcomes for submitted requests.
requests_cancelled: u64Submitted requests that completed through cancellation.
requests_failed: u64Submitted requests that completed with an error.
requests_in_flight: u64Requests currently holding an engine slot.
requests_in_flight_peak: u64Sum of the participating engines’ high-water marks. This is a conservative bound when a direction spans multiple engines, not a synchronized process-wide peak.
slot_wait_ns: u64Nanoseconds spent acquiring an engine slot. Pre-reserved nonwaiting reads do not contribute to this counter.
request_time_ns: u64Nanoseconds from slot reservation to terminal completion for submitted requests.
buffered: CacheIoPathSnapshotRuntime operations issued through buffered file descriptors.
direct: CacheIoPathSnapshotRuntime operations issued through direct-I/O file descriptors.