Averest


SimulationRun Type

a SimulationRun holds the result of a complete simulation of an Abacus program, i.e.,

  • error indicates whether the simulation has been aborted due to an exception like an access to an invalid memory address.
  • trace is the sequence of AbacusStates that were obtained after executing the single instructions of the program
  • instrCount[l] is the number of executions of the instruction in line l in total
  • nopCount[l] is the number of nop instructions that had to be inserted before instruction in line l i total
  • branchTaken[l] is only different to zero if the instruction at line l is a conditional branch instruction. In this case, this is the number of how often the branch has been taken, and thus, the difference of instrCount[l] and branchTaken[l] tells us how often the branch has not been taken.

Record fields

Record Field Description

branchTaken

Full Usage: branchTaken

Field type: int[]

Field type: int[]

error

Full Usage: error

Field type: bool

Field type: bool

instrCount

Full Usage: instrCount

Field type: int[]

Field type: int[]

nopCount

Full Usage: nopCount

Field type: int[]

Field type: int[]

trace

Full Usage: trace

Field type: AbacusState[]

Field type: AbacusState[]