pub enum Fire {
BeforeStep,
AfterStep,
}Expand description
Side of a step on which a run of GPU steps fires the actions due.
Each rule mirrors one CPU loop. Two runs back to back share the tick where the first stops and the second starts, and under one rule only one of the two runs fires it.
Variants§
BeforeStep
Before the step that leaves a tick, as the CPU benchmark loop does. A run leaves the tick it stops on to the caller.
AfterStep
After the step that reaches a tick, as the CPU stats loop does, so a sample taken there sees the action. A run leaves the tick it starts on to the caller.
Trait Implementations§
impl Copy for Fire
impl Eq for Fire
impl StructuralPartialEq for Fire
Auto Trait Implementations§
impl Freeze for Fire
impl RefUnwindSafe for Fire
impl Send for Fire
impl Sync for Fire
impl Unpin for Fire
impl UnsafeUnpin for Fire
impl UnwindSafe for Fire
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