pub struct VmStats {
pub instructions_executed: usize,
pub max_stack_depth: usize,
pub jumps_taken: usize,
}Expand description
Execution statistics collected during a single VM run.
Fields§
§instructions_executed: usizeTotal number of instructions dispatched (including the final Halt).
max_stack_depth: usizeThe highest stack depth observed at any point during execution.
jumps_taken: usizeNumber of conditional or unconditional jumps that were actually taken.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VmStats
impl RefUnwindSafe for VmStats
impl Send for VmStats
impl Sync for VmStats
impl Unpin for VmStats
impl UnsafeUnpin for VmStats
impl UnwindSafe for VmStats
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