Overview

Namespaces

  • Csim
    • Controller
    • Model
    • Util
  • PHP

Classes

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

Exceptions

  • InvalidInstructionException
  • Overview
  • Namespace
  • Class
  • Tree

Class Cache

Rpresents a cache.

Namespace: Csim\Model
Located at classes/Csim/Model/Cache.php
Methods summary
public
# __construct( mixed $layout )

Constructs a new cache with the specified layout.

Constructs a new cache with the specified layout.

public Csim\Model\SimulationState
# getState( )

Returns

Csim\Model\SimulationState
The current state of the cache.
public Csim\Model\SimulationState
# simulate( Csim\Model\Instruction $instruction )

Simulates the specified instruction.

Simulates the specified instruction.

Parameters

$instruction
Csim\Model\Instruction
$instruction The instruction that will be simulated.

Returns

Csim\Model\SimulationState
The state after the specified instruction has been simulated.
csim-jquery-nophpfw API documentation generated by ApiGen 2.8.0