Skip to main content

prefetch_l1

Function prefetch_l1 

Source
pub fn prefetch_l1(ptr: *const u8)
Expand description

Prefetch the cache line of ptr into the L1 cache. A prefetch never faults, so ptr may point anywhere.