pub struct ResultCacheStats {
pub budget_bytes: u64,
pub bytes: u64,
pub entries: u64,
pub pinned: u64,
pub hits: u64,
pub misses: u64,
pub ineligible: u64,
pub inserts: u64,
pub evictions: u64,
pub skipped_nodes: u64,
pub invalidations: [u64; 5],
}Expand description
Result-cache counters since the renderer was created.
Fields§
§budget_bytes: u64Bytes results may occupy; zero disables the cache.
bytes: u64Bytes the kept results occupy.
entries: u64Results kept.
pinned: u64Of those, pinned.
hits: u64Candidate nodes found in the cache.
misses: u64Candidate nodes with complete keys that were not.
ineligible: u64Candidate nodes that could not be cached: a transient source or a bypass under or over them.
inserts: u64Results stored.
evictions: u64Results dropped to stay within the budget.
skipped_nodes: u64Nodes not encoded because a result above them was found.
invalidations: [u64; 5]Clears by reason: effects, effect resources, quality, explicit, and a GPU error reported for earlier work.
Trait Implementations§
Source§impl Clone for ResultCacheStats
impl Clone for ResultCacheStats
impl Copy for ResultCacheStats
Source§impl Debug for ResultCacheStats
impl Debug for ResultCacheStats
Source§impl Default for ResultCacheStats
impl Default for ResultCacheStats
impl Eq for ResultCacheStats
Source§impl PartialEq for ResultCacheStats
impl PartialEq for ResultCacheStats
impl StructuralPartialEq for ResultCacheStats
Auto Trait Implementations§
impl Freeze for ResultCacheStats
impl RefUnwindSafe for ResultCacheStats
impl Send for ResultCacheStats
impl Sync for ResultCacheStats
impl Unpin for ResultCacheStats
impl UnsafeUnpin for ResultCacheStats
impl UnwindSafe for ResultCacheStats
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.