MemoryTupleTimer

Trait MemoryTupleTimer 

Source
pub trait MemoryTupleTimer {
    // Required method
    unsafe fn time_subsequent_access_from_ram(
        &self,
        a: *const u8,
        b: *const u8,
        rounds: usize,
    ) -> u64;
}
Expand description

Measures memory access timing between address pairs.

Used to detect DRAM bank conflicts and verify memory organization during allocator setup.

Required Methods§

Source

unsafe fn time_subsequent_access_from_ram( &self, a: *const u8, b: *const u8, rounds: usize, ) -> u64

time_subsequent_access_from_ram measures the access time when accessing both memory locations back to back from ram.

§Safety
  • a and b must be valid pointers to memory locations

Implementors§