Overview

Namespaces

  • Csim
    • Controller
    • Model
    • Util
  • PHP

Classes

  • Cache
  • CacheCell
  • CacheLayout
  • Execution
  • Instruction
  • InstructionType
  • Set
  • SimulationState

Exceptions

  • InvalidInstructionException
  • Overview
  • Namespace
  • Class
  • Tree

Class Execution

Describes one simulated instruction and the simulation result.

Namespace: Csim\Model
Located at classes/Csim/Model/Execution.php
Methods summary
public
# __construct( Csim\Model\Instruction $instruction, boolean $isHit, Csim\Model\CacheCell $location )

Creates a new instance representing the simulation of the specified instruction.

Creates a new instance representing the simulation of the specified instruction.

Parameters

$instruction
Csim\Model\Instruction
$instruction The simulated instruction.
$isHit
boolean
$isHit true if the specified instruction hit in the cache, false if it did not.
$location
Csim\Model\CacheCell
$location Specifies where the searched data was found if the instruction hit. Specifies where new data was loaded if the instruction missed.
public boolean
# isHit( )

Return true if this instruction hit in the cache.

Return true if this instruction hit in the cache.

Returns

boolean
public Csim\Model\CacheCell
# getLocation( )

Return the hit/miss cache location of this instruction.

Return the hit/miss cache location of this instruction.

Returns

Csim\Model\CacheCell
public Csim\Model\Instruction
# getInstruction( )

Return the executed instruction.

Return the executed instruction.

Returns

Csim\Model\Instruction
csim-jquery-nophpfw API documentation generated by ApiGen 2.8.0