Otawa  0.10
otawa::sim Namespace Reference

Classes

class  AbstractCacheDriver
 This is an abstract implementation of the cache driver allowing to customize only the cache replacement policy. More...
 
class  BasicBlockDriver
 This class is a simulator Driver that executes the instruction sequence found in a basic block. More...
 
class  BBPathDriver
 
class  CacheDriver
 This class provides a simple interface to drive the cache management unit of a simulator. More...
 
class  DirectMappedCacheDriver
 This class provide a cache driver implementing direct mapped cache driver. More...
 
class  Driver
 This class is used to drive a simulator. More...
 
class  Exception
 Exception generated by a simulator. More...
 
class  FIFOCacheDriver
 This class provide a cache driver implementing a FIFO policy. More...
 
class  LRUCacheDriver
 This class provide a cache driver implementing the LRU replacement policy. More...
 
class  Simulator
 This class represents a plugin to use facilities provided by a simulator. More...
 
class  State
 This class represents a running simulator. More...
 
class  TrivialSimulator
 The trivial simulator is a simplistic simulator with a fixed execution time for each instruction (defined by otawa::sim::INSTRUCTION_TIME). More...
 

Functions

Identifier< bool > IS_FUNCTIONAL ("otawa::sim::IS_FUNCTIONAL")
 If supported by the simulator, enable or disable the functional part. More...
 
Identifier< bool > IS_STRUCTURAL ("otawa::sim::IS_STRUCTURAL")
 If supported by the simulator, enable or disable the structural part. More...
 
Identifier< bool > USE_MEMORY ("otawa::sim::USE_MEMORY", true)
 Activate or unactivate the memory management. More...
 
Identifier< bool > USE_CONTROL ("otawa::sim::USE_CONTROL")
 Activate or unactivate the control management. More...
 
Identifier< int > INSTRUCTION_TIME ("otawa::sim::instruction_time")
 Instruction execution time. More...
 

Variables

Identifier< bool > IS_FUNCTIONAL
 If supported by the simulator, enable or disable the functional part. More...
 
Identifier< bool > IS_STRUCTURAL
 If supported by the simulator, enable or disable the structural part. More...
 
Identifier< bool > USE_MEMORY
 Activate or unactivate the memory management. More...
 
Identifier< bool > USE_CONTROL
 Activate or unactivate the control management. More...
 
Identifier< int > INSTRUCTION_TIME
 Instruction execution time. More...
 

Function Documentation

Identifier<int> otawa::sim::INSTRUCTION_TIME ( "otawa::sim::instruction_time"  )

Instruction execution time.

Default to 5.

Identifier<bool> otawa::sim::IS_FUNCTIONAL ( "otawa::sim::IS_FUNCTIONAL"  )

If supported by the simulator, enable or disable the functional part.

Default to false.

Identifier<bool> otawa::sim::IS_STRUCTURAL ( "otawa::sim::IS_STRUCTURAL"  )

If supported by the simulator, enable or disable the structural part.

Default to true.

Identifier<bool> otawa::sim::USE_CONTROL ( "otawa::sim::USE_CONTROL"  )

Activate or unactivate the control management.

Default to false.

Identifier<bool> otawa::sim::USE_MEMORY ( "otawa::sim::USE_MEMORY"  ,
true   
)

Activate or unactivate the memory management.

Default to true.

Variable Documentation

Identifier<int> otawa::sim::INSTRUCTION_TIME("otawa::sim::instruction_time")

Instruction execution time.

Default to 5.

Referenced by otawa::sim::TrivialSimulator::instantiate().

Identifier<bool> otawa::sim::IS_FUNCTIONAL("otawa::sim::IS_FUNCTIONAL")

If supported by the simulator, enable or disable the functional part.

Default to false.

Referenced by otawa::sim::TrivialSimulator::instantiate().

Identifier<bool> otawa::sim::IS_STRUCTURAL("otawa::sim::IS_STRUCTURAL")

If supported by the simulator, enable or disable the structural part.

Default to true.

Identifier<bool> otawa::sim::USE_CONTROL("otawa::sim::USE_CONTROL")

Activate or unactivate the control management.

Default to false.

Referenced by otawa::sim::TrivialSimulator::instantiate().

Identifier<bool> otawa::sim::USE_MEMORY("otawa::sim::USE_MEMORY", true)

Activate or unactivate the memory management.

Default to true.

Referenced by otawa::sim::TrivialSimulator::instantiate(), otawa::tsim::BBTimeSimulator::setup(), and otawa::tsim::BBPath::simulate().