pub struct MegakernelPromotionEvidence {Show 13 fields
pub schema_version: u32,
pub queue_len: u32,
pub jit_queue_len_threshold: u32,
pub hot_opcode_count: u32,
pub hot_opcode_threshold: u32,
pub hot_window_count: u32,
pub hot_window_threshold: u32,
pub execution_mode: MegakernelExecutionMode,
pub promote_hot_opcodes: bool,
pub promote_hot_windows: bool,
pub promotion_route: MegakernelPromotionRoute,
pub fused_descriptor_window_required: bool,
pub output_parity_required: bool,
}Expand description
Evidence envelope that makes hot opcode/window promotion auditable.
Fields§
§schema_version: u32Evidence schema version.
queue_len: u32Logical ring slots or work items queued for this launch.
jit_queue_len_threshold: u32Queue length threshold that can trigger JIT without hot counters.
hot_opcode_count: u32Hot opcode counter supplied to the policy.
hot_opcode_threshold: u32Hot opcode threshold configured on the policy.
hot_window_count: u32Hot descriptor-window counter supplied to the policy.
hot_window_threshold: u32Hot descriptor-window threshold configured on the policy.
execution_mode: MegakernelExecutionModeInterpreter or JIT route selected by the policy.
promote_hot_opcodes: boolTrue when opcode counters require fused opcode promotion.
promote_hot_windows: boolTrue when window counters require fused descriptor-window promotion.
promotion_route: MegakernelPromotionRouteStable promotion class for reports and lowerer input.
fused_descriptor_window_required: boolTrue when the lowerer should materialize fused descriptor windows.
output_parity_required: boolTrue when benches must compare interpreter and fused-window outputs.
Implementations§
Source§impl MegakernelPromotionEvidence
impl MegakernelPromotionEvidence
Sourcepub fn is_complete(self) -> bool
pub fn is_complete(self) -> bool
Return true when the promotion evidence carries all thresholds and route fields needed by a lowerer or parity bench.
Trait Implementations§
Source§impl Clone for MegakernelPromotionEvidence
impl Clone for MegakernelPromotionEvidence
Source§fn clone(&self) -> MegakernelPromotionEvidence
fn clone(&self) -> MegakernelPromotionEvidence
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for MegakernelPromotionEvidence
Source§impl Debug for MegakernelPromotionEvidence
impl Debug for MegakernelPromotionEvidence
impl Eq for MegakernelPromotionEvidence
Source§impl PartialEq for MegakernelPromotionEvidence
impl PartialEq for MegakernelPromotionEvidence
Source§fn eq(&self, other: &MegakernelPromotionEvidence) -> bool
fn eq(&self, other: &MegakernelPromotionEvidence) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MegakernelPromotionEvidence
Auto Trait Implementations§
impl Freeze for MegakernelPromotionEvidence
impl RefUnwindSafe for MegakernelPromotionEvidence
impl Send for MegakernelPromotionEvidence
impl Sync for MegakernelPromotionEvidence
impl Unpin for MegakernelPromotionEvidence
impl UnsafeUnpin for MegakernelPromotionEvidence
impl UnwindSafe for MegakernelPromotionEvidence
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
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
key and return true if they are equal.