pub struct ResidentIfdsCsrCacheStats {
pub hits: u64,
pub misses: u64,
pub resident_uploads: u64,
pub resident_upload_bytes: u64,
pub resident_avoided_upload_bytes: u64,
pub evictions: u64,
pub retained_bytes: usize,
pub entries: usize,
}Expand description
Runtime counters for super::ResidentIfdsCsrCache.
Fields§
§hits: u64Successful resident CSR lookups that avoided a graph upload.
misses: u64Lookups that had to upload invariant CSR buffers.
resident_uploads: u64Resident CSR graph uploads performed by this cache.
resident_upload_bytes: u64Cumulative resident CSR graph bytes uploaded by this cache.
resident_avoided_upload_bytes: u64Cumulative resident CSR graph upload bytes avoided by cache hits.
evictions: u64Resident CSR entries evicted to stay within the retained-byte limit.
retained_bytes: usizeCurrent resident graph bytes retained by the cache.
entries: usizeCurrent resident CSR entry count.
Implementations§
Source§impl ResidentIfdsCsrCacheStats
impl ResidentIfdsCsrCacheStats
Sourcepub const fn resident_graph_reuse_telemetry(self) -> ResidentGraphReuseTelemetry
pub const fn resident_graph_reuse_telemetry(self) -> ResidentGraphReuseTelemetry
Backend-neutral resident graph reuse telemetry for this cache snapshot.
Trait Implementations§
Source§impl Clone for ResidentIfdsCsrCacheStats
impl Clone for ResidentIfdsCsrCacheStats
Source§fn clone(&self) -> ResidentIfdsCsrCacheStats
fn clone(&self) -> ResidentIfdsCsrCacheStats
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 ResidentIfdsCsrCacheStats
Source§impl Debug for ResidentIfdsCsrCacheStats
impl Debug for ResidentIfdsCsrCacheStats
Source§impl Default for ResidentIfdsCsrCacheStats
impl Default for ResidentIfdsCsrCacheStats
Source§fn default() -> ResidentIfdsCsrCacheStats
fn default() -> ResidentIfdsCsrCacheStats
Returns the “default value” for a type. Read more
impl Eq for ResidentIfdsCsrCacheStats
impl StructuralPartialEq for ResidentIfdsCsrCacheStats
Auto Trait Implementations§
impl Freeze for ResidentIfdsCsrCacheStats
impl RefUnwindSafe for ResidentIfdsCsrCacheStats
impl Send for ResidentIfdsCsrCacheStats
impl Sync for ResidentIfdsCsrCacheStats
impl Unpin for ResidentIfdsCsrCacheStats
impl UnsafeUnpin for ResidentIfdsCsrCacheStats
impl UnwindSafe for ResidentIfdsCsrCacheStats
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
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
Compare self to
key and return true if they are equal.