MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / CacheStats

Class CacheStats

crates/virtual-machine/src/memory/cache.rs:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38#[derive(Default, Debug, Clone)]
39pub struct CacheStats {
40 pub read_hits: u64,
41 pub read_misses: u64,
42 pub write_hits: u64,
43 pub write_misses: u64,
44}
45
46impl<Next: MemoryAccess> Cache<Next> {
47 pub fn new(params: CacheParams, next: Next) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected