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

Class CacheLineSnapshot

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

Source from the content-addressed store, hash-verified

368#[derive(Clone, Debug, Default)]
369pub struct CacheSnapshot {
370 pub params: CacheParamsSnapshot,
371 pub sets: Vec<Vec<CacheLineSnapshot>>,
372 pub stats: CacheStats,
373}
374
375impl<Next: MemoryAccess + PeekByteRaw> PeekByteRaw for Cache<Next> {
376 fn peek_byte_raw(&self, addr: u64) -> Option<u8> {
377 let (tag, index, offset) = self.address_fields(addr);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected