pub struct DeviceLedgerReport {Show 16 fields
pub device_ordinal: usize,
pub sequence: u64,
pub managed_capacity_bytes: u64,
pub max_active_attempts: usize,
pub active_attempts: usize,
pub live_grants_bytes: u64,
pub frozen_resident_bytes: u64,
pub resident_owner_bytes: u64,
pub root_streams_available: usize,
pub root_worker_slots_available: usize,
pub available_bytes: u64,
pub evictable_bytes: u64,
pub cache_evictable_resident_bytes: u64,
pub cache_pinned_in_use_bytes: u64,
pub health: String,
pub grants: Vec<DeviceLedgerGrantRow>,
/* private fields */
}Expand description
Public diagnostic report for one device ledger.
Fields§
§device_ordinal: usizeCUDA device whose admission ledger was sampled.
sequence: u64Observation sequence advanced by each ledger state mutation.
managed_capacity_bytes: u64Managed byte capacity shared by query grants, frozen residents and cache.
max_active_attempts: usizeImmutable simultaneous admitted-attempt bound.
active_attempts: usizeAttempts whose grant remains active or is being cleaned up.
live_grants_bytes: u64Sum of immutable active and cleaning grant capacities in bytes.
frozen_resident_bytes: u64Query-share bytes retained by frozen resident domains.
resident_owner_bytes: u64Aggregate bytes retained by resident owners at this report’s sequence.
root_streams_available: usizeLogical root stream slots available at this report’s sequence.
root_worker_slots_available: usizeLogical root worker slots available at this report’s sequence.
available_bytes: u64Query-share bytes not currently covered by live grants or frozen
residents (Q - R - Σ Gᵢ). Cache charges never participate.
evictable_bytes: u64Cache-internal evictable accounting, reported separately from active grants and pinned cache bytes.
cache_evictable_resident_bytes: u64Resident-cache bytes available for eviction at this ledger sequence.
cache_pinned_in_use_bytes: u64Resident-cache bytes temporarily pinned by an active cache lease.
health: StringAdmission state label, open or closed.
grants: Vec<DeviceLedgerGrantRow>Active grant rows from the same ledger sequence.
Trait Implementations§
Source§impl Clone for DeviceLedgerReport
impl Clone for DeviceLedgerReport
Source§impl Debug for DeviceLedgerReport
impl Debug for DeviceLedgerReport
impl Eq for DeviceLedgerReport
Source§impl PartialEq for DeviceLedgerReport
impl PartialEq for DeviceLedgerReport
Source§impl Serialize for DeviceLedgerReport
impl Serialize for DeviceLedgerReport
impl StructuralPartialEq for DeviceLedgerReport
Auto Trait Implementations§
impl Freeze for DeviceLedgerReport
impl RefUnwindSafe for DeviceLedgerReport
impl Send for DeviceLedgerReport
impl Sync for DeviceLedgerReport
impl Unpin for DeviceLedgerReport
impl UnsafeUnpin for DeviceLedgerReport
impl UnwindSafe for DeviceLedgerReport
Blanket Implementations§
impl<T> Allocation for T
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
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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