pub struct MpscQueueRecipe;Expand description
Stages: offer, poll. Four producer threads share one queue; a single
consumer drains. Per-op timing is recorded on the thread that does the op.
Trait Implementations§
Source§impl SubMsRecipe for MpscQueueRecipe
impl SubMsRecipe for MpscQueueRecipe
fn name(&self) -> &str
fn run(&self, h: &mut SubMsPerfHarness, params: &SubMsBenchParams)
Auto Trait Implementations§
impl Freeze for MpscQueueRecipe
impl RefUnwindSafe for MpscQueueRecipe
impl Send for MpscQueueRecipe
impl Sync for MpscQueueRecipe
impl Unpin for MpscQueueRecipe
impl UnsafeUnpin for MpscQueueRecipe
impl UnwindSafe for MpscQueueRecipe
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