pub enum MegakernelPromotionRoute {
Interpreter,
QueueJit,
OpcodeJit,
WindowJit,
OpcodeAndWindowJit,
}Expand description
Interpreter/JIT promotion route selected from queue and hot-window signals.
Variants§
Interpreter
Stay on the generic interpreter path.
QueueJit
Use JIT because the queue is large enough to amortize fused execution.
OpcodeJit
Use JIT because opcode counters crossed the promotion threshold.
WindowJit
Use JIT because repeated descriptor windows crossed the promotion threshold.
OpcodeAndWindowJit
Use JIT because both opcode and window promotion thresholds were crossed.
Implementations§
Trait Implementations§
Source§impl Clone for MegakernelPromotionRoute
impl Clone for MegakernelPromotionRoute
Source§fn clone(&self) -> MegakernelPromotionRoute
fn clone(&self) -> MegakernelPromotionRoute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MegakernelPromotionRoute
Source§impl Debug for MegakernelPromotionRoute
impl Debug for MegakernelPromotionRoute
impl Eq for MegakernelPromotionRoute
Source§impl Hash for MegakernelPromotionRoute
impl Hash for MegakernelPromotionRoute
Source§impl PartialEq for MegakernelPromotionRoute
impl PartialEq for MegakernelPromotionRoute
Source§fn eq(&self, other: &MegakernelPromotionRoute) -> bool
fn eq(&self, other: &MegakernelPromotionRoute) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MegakernelPromotionRoute
Auto Trait Implementations§
impl Freeze for MegakernelPromotionRoute
impl RefUnwindSafe for MegakernelPromotionRoute
impl Send for MegakernelPromotionRoute
impl Sync for MegakernelPromotionRoute
impl Unpin for MegakernelPromotionRoute
impl UnsafeUnpin for MegakernelPromotionRoute
impl UnwindSafe for MegakernelPromotionRoute
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.