pub struct GraphCacheStats { /* private fields */ }Expand description
A copied reading of one cache’s cumulative activity.
Counters saturate rather than wrap, so a long-lived host reads a ceiling instead of a count that silently restarted.
Implementations§
Source§impl GraphCacheStats
impl GraphCacheStats
Sourcepub fn source_projection_hits(self) -> u64
pub fn source_projection_hits(self) -> u64
Source-unit projections reused from retained state.
Sourcepub fn source_projection_misses(self) -> u64
pub fn source_projection_misses(self) -> u64
Source-unit projections that had to be rebuilt.
Sourcepub fn source_projection_evictions(self) -> u64
pub fn source_projection_evictions(self) -> u64
Source-unit projections dropped to stay within their ceiling.
Sourcepub fn exact_graph_hits(self) -> u64
pub fn exact_graph_hits(self) -> u64
Exact graphs answered from retained state.
Sourcepub fn exact_graph_misses(self) -> u64
pub fn exact_graph_misses(self) -> u64
Exact graphs that had to be built.
Sourcepub fn exact_graph_evictions(self) -> u64
pub fn exact_graph_evictions(self) -> u64
Exact graphs dropped to stay within their ceiling.
Sourcepub fn selected_index_hits(self) -> u64
pub fn selected_index_hits(self) -> u64
Edge-selection index sets answered from retained state.
Sourcepub fn selected_index_misses(self) -> u64
pub fn selected_index_misses(self) -> u64
Edge-selection index sets that had to be built.
Sourcepub fn selected_index_evictions(self) -> u64
pub fn selected_index_evictions(self) -> u64
Edge-selection index sets dropped to stay within their ceiling.
Sourcepub fn derived_product_hits(self) -> u64
pub fn derived_product_hits(self) -> u64
Derived products answered from retained state.
Sourcepub fn derived_product_misses(self) -> u64
pub fn derived_product_misses(self) -> u64
Derived products that had to be computed.
Sourcepub fn derived_product_evictions(self) -> u64
pub fn derived_product_evictions(self) -> u64
Derived products dropped to stay within their ceiling.
Trait Implementations§
Source§impl Clone for GraphCacheStats
impl Clone for GraphCacheStats
Source§fn clone(&self) -> GraphCacheStats
fn clone(&self) -> GraphCacheStats
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more