pub struct FixedPointResidentGraphCacheStats {
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::FixedPointResidentGraphCache.
Fields§
§hits: u64Successful lookups that avoided resident graph upload.
misses: u64Lookups that uploaded invariant graph buffers.
resident_uploads: u64Resident graph uploads performed by this cache.
resident_upload_bytes: u64Cumulative resident graph bytes uploaded by this cache.
resident_avoided_upload_bytes: u64Cumulative resident graph upload bytes avoided by cache hits.
evictions: u64Resident graph entries evicted to stay within the retained-byte limit.
retained_bytes: usizeCurrent resident graph bytes retained by the cache.
entries: usizeCurrent resident graph entry count.
Implementations§
Source§impl FixedPointResidentGraphCacheStats
impl FixedPointResidentGraphCacheStats
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 FixedPointResidentGraphCacheStats
impl Clone for FixedPointResidentGraphCacheStats
Source§fn clone(&self) -> FixedPointResidentGraphCacheStats
fn clone(&self) -> FixedPointResidentGraphCacheStats
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 FixedPointResidentGraphCacheStats
Source§impl Default for FixedPointResidentGraphCacheStats
impl Default for FixedPointResidentGraphCacheStats
Source§fn default() -> FixedPointResidentGraphCacheStats
fn default() -> FixedPointResidentGraphCacheStats
Returns the “default value” for a type. Read more
impl Eq for FixedPointResidentGraphCacheStats
impl StructuralPartialEq for FixedPointResidentGraphCacheStats
Auto Trait Implementations§
impl Freeze for FixedPointResidentGraphCacheStats
impl RefUnwindSafe for FixedPointResidentGraphCacheStats
impl Send for FixedPointResidentGraphCacheStats
impl Sync for FixedPointResidentGraphCacheStats
impl Unpin for FixedPointResidentGraphCacheStats
impl UnsafeUnpin for FixedPointResidentGraphCacheStats
impl UnwindSafe for FixedPointResidentGraphCacheStats
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.