pub fn timed_read<const N: usize>(
memory: &mut TracingMemory,
address_space: u32,
ptr: u32,
) -> (u32, [u8; N])
Expand description
Atomic read operation which increments the timestamp by 1.
Returns (t_prev, [ptr:4]_{address_space})
where t_prev
is the timestamp of the last memory
access.