pub struct ResidentGraphCacheMissEvidence {
pub total_entries: usize,
pub same_domain_entries: usize,
pub same_backend_entries: usize,
pub same_layout_entries: usize,
pub same_shape_entries: usize,
}Expand description
Adjacent cache identity evidence used to explain resident graph misses.
Fields§
§total_entries: usizeTotal resident graph cache entries inspected.
same_domain_entries: usizeEntries in the same resident graph domain.
same_backend_entries: usizeEntries with the same domain, backend id, and backend version.
same_layout_entries: usizeEntries with the same domain, backend identity, and layout hash.
same_shape_entries: usizeEntries with matching domain, backend, layout, node, edge, and frontier word counts.
Implementations§
Source§impl ResidentGraphCacheMissEvidence
impl ResidentGraphCacheMissEvidence
Sourcepub fn from_identities<'a>(
cached: impl Iterator<Item = &'a ResidentGraphCacheIdentity>,
requested: &ResidentGraphCacheIdentity,
) -> Self
pub fn from_identities<'a>( cached: impl Iterator<Item = &'a ResidentGraphCacheIdentity>, requested: &ResidentGraphCacheIdentity, ) -> Self
Build miss evidence from cache identities adjacent to a requested key.
Trait Implementations§
Source§impl Clone for ResidentGraphCacheMissEvidence
impl Clone for ResidentGraphCacheMissEvidence
Source§fn clone(&self) -> ResidentGraphCacheMissEvidence
fn clone(&self) -> ResidentGraphCacheMissEvidence
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 ResidentGraphCacheMissEvidence
Source§impl Default for ResidentGraphCacheMissEvidence
impl Default for ResidentGraphCacheMissEvidence
Source§fn default() -> ResidentGraphCacheMissEvidence
fn default() -> ResidentGraphCacheMissEvidence
Returns the “default value” for a type. Read more
impl Eq for ResidentGraphCacheMissEvidence
impl StructuralPartialEq for ResidentGraphCacheMissEvidence
Auto Trait Implementations§
impl Freeze for ResidentGraphCacheMissEvidence
impl RefUnwindSafe for ResidentGraphCacheMissEvidence
impl Send for ResidentGraphCacheMissEvidence
impl Sync for ResidentGraphCacheMissEvidence
impl Unpin for ResidentGraphCacheMissEvidence
impl UnsafeUnpin for ResidentGraphCacheMissEvidence
impl UnwindSafe for ResidentGraphCacheMissEvidence
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.