pub struct DebugExecutionEngine { /* private fields */ }Expand description
Debug execution engine
Provides specialized execution capabilities for debugging including instrumentation, step-by-step execution, and state tracking.
Implementations§
Source§impl DebugExecutionEngine
impl DebugExecutionEngine
Sourcepub fn new(config: DebuggerConfig) -> Self
pub fn new(config: DebuggerConfig) -> Self
Create a new debug execution engine
§Arguments
config- Configuration for the debug execution engine
Sourcepub fn execute_node_debug(
&mut self,
node: &Node,
graph: &ComputationGraph,
node_id: NodeId,
) -> JitResult<NodeExecutionResult>
pub fn execute_node_debug( &mut self, node: &Node, graph: &ComputationGraph, node_id: NodeId, ) -> JitResult<NodeExecutionResult>
Sourcepub fn execute_instruction_debug(
&mut self,
instruction: &Instruction,
ir_module: &IrModule,
execution_state: &mut ExecutionState,
) -> JitResult<InstructionExecutionResult>
pub fn execute_instruction_debug( &mut self, instruction: &Instruction, ir_module: &IrModule, execution_state: &mut ExecutionState, ) -> JitResult<InstructionExecutionResult>
Sourcepub fn get_statistics(&self) -> DebugStatistics
pub fn get_statistics(&self) -> DebugStatistics
Get execution statistics
Sourcepub fn get_operation_statistics(&self) -> &HashMap<String, OperationStatistics>
pub fn get_operation_statistics(&self) -> &HashMap<String, OperationStatistics>
Get detailed operation statistics
Sourcepub fn get_operation_timings(&self, operation: &str) -> Option<&Vec<Duration>>
pub fn get_operation_timings(&self, operation: &str) -> Option<&Vec<Duration>>
Get timing information for a specific operation
Sourcepub fn reset_statistics(&mut self)
pub fn reset_statistics(&mut self)
Reset all statistics and timing information
Sourcepub fn config(&self) -> &DebuggerConfig
pub fn config(&self) -> &DebuggerConfig
Get the configuration
Sourcepub fn update_config(&mut self, config: DebuggerConfig)
pub fn update_config(&mut self, config: DebuggerConfig)
Update the configuration
Auto Trait Implementations§
impl Freeze for DebugExecutionEngine
impl RefUnwindSafe for DebugExecutionEngine
impl Send for DebugExecutionEngine
impl Sync for DebugExecutionEngine
impl Unpin for DebugExecutionEngine
impl UnsafeUnpin for DebugExecutionEngine
impl UnwindSafe for DebugExecutionEngine
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more