pub struct SpscRingBufferRecipe;Expand description
Stages: enqueue, dequeue. Each measured on the thread that owns the
respective end; sample arrays merged back into the harness on the producer
thread after the consumer joins.
Trait Implementations§
Source§impl SubMsRecipe for SpscRingBufferRecipe
impl SubMsRecipe for SpscRingBufferRecipe
fn name(&self) -> &str
fn run(&self, h: &mut SubMsPerfHarness, params: &SubMsBenchParams)
Auto Trait Implementations§
impl Freeze for SpscRingBufferRecipe
impl RefUnwindSafe for SpscRingBufferRecipe
impl Send for SpscRingBufferRecipe
impl Sync for SpscRingBufferRecipe
impl Unpin for SpscRingBufferRecipe
impl UnsafeUnpin for SpscRingBufferRecipe
impl UnwindSafe for SpscRingBufferRecipe
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