pub struct CacheContentionSource;Expand description
Measures L1/L2 cache miss patterns by alternating between sequential (cache-friendly) and random (cache-hostile) access patterns on an 8 MB buffer that spans the L2 boundary. Cache timing depends on what every other process and hardware unit is doing — the cache is a shared resource whose state is fundamentally unpredictable.
Trait Implementations§
Source§impl EntropySource for CacheContentionSource
impl EntropySource for CacheContentionSource
Auto Trait Implementations§
impl Freeze for CacheContentionSource
impl RefUnwindSafe for CacheContentionSource
impl Send for CacheContentionSource
impl Sync for CacheContentionSource
impl Unpin for CacheContentionSource
impl UnwindSafe for CacheContentionSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more