| 368 | #[derive(Clone, Debug, Default)] |
| 369 | pub struct CacheSnapshot { |
| 370 | pub params: CacheParamsSnapshot, |
| 371 | pub sets: Vec<Vec<CacheLineSnapshot>>, |
| 372 | pub stats: CacheStats, |
| 373 | } |
| 374 | |
| 375 | impl<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); |
nothing calls this directly
no outgoing calls
no test coverage detected