You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
364 B
18 lines
364 B
/// Cycles spent executing an instruction
|
|
pub type CyclesSpent = usize;
|
|
|
|
/// Result of execution evaluation (when Fault is not generated)
|
|
#[derive(Debug)]
|
|
pub struct EvalRes {
|
|
pub cycles: CyclesSpent,
|
|
pub advance: i64,
|
|
}
|
|
|
|
impl Default for EvalRes {
|
|
fn default() -> Self {
|
|
Self {
|
|
cycles: 1,
|
|
advance: 1,
|
|
}
|
|
}
|
|
}
|
|
|