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

Method write_halfword

crates/virtual-machine/src/bus.rs:317–326  ·  view source on GitHub ↗
(&mut self, addr: u64, data: u16)

Source from the content-addressed store, hash-verified

315 self.rom.size() as usize
316 }
317
318 /// Cheap stats-only read, no allocation. Called every step.
319 pub fn get_cache_stats(
320 &self,
321 ) -> (
322 crate::memory::cache::CacheStats,
323 crate::memory::cache::CacheStats,
324 crate::memory::cache::CacheStats,
325 ) {
326 let l1 = self.l1_cache.stats().clone();
327 let l2 = self.l1_cache.peek_next().stats().clone();
328 let l3 = self.l1_cache.peek_next().peek_next().stats().clone();
329 (l1, l2, l3)

Callers

nothing calls this directly

Calls 1

routeMethod · 0.80

Tested by

no test coverage detected