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

Method peek_csrs

crates/virtual-machine/src/cpu/pipeline.rs:176–178  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

174 pub fn peek_all_xregs(&self) -> [u64; 32] {
175 std::array::from_fn(|i| self.regs.read_x(i))
176 }
177
178 pub fn peek_all_fregs(&self) -> [u64; 32] {
179 std::array::from_fn(|i| self.regs.read_f_bits(i))
180 }
181

Callers

nothing calls this directly

Calls 1

snapshotMethod · 0.45

Tested by

no test coverage detected