OpenASIP  2.0
Static Public Member Functions | List of all members
SetMemoryAccessTracking Class Reference
Collaboration diagram for SetMemoryAccessTracking:
Collaboration graph

Static Public Member Functions

static bool execute (SimulatorInterpreter &, SimulatorFrontend &simFront, bool newValue)
 
static const DataObjectdefaultValue ()
 
static bool warnOnExistingProgramAndMachine ()
 

Detailed Description

Setting action that sets the memory access tracking.

Definition at line 611 of file SettingCommand.cc.

Member Function Documentation

◆ defaultValue()

static const DataObject& SetMemoryAccessTracking::defaultValue ( )
inlinestatic

Returns the default value of this setting.

Returns
The default value.

Definition at line 632 of file SettingCommand.cc.

632  {
633  static DataObject defaultValue_("0");
634  return defaultValue_;
635  }

◆ execute()

static bool SetMemoryAccessTracking::execute ( SimulatorInterpreter ,
SimulatorFrontend simFront,
bool  newValue 
)
inlinestatic

Sets the memory access tracking.

Parameters
interpreterTo use to set the setting.
newValueValue to set.
Returns
True if setting was successful.

Definition at line 621 of file SettingCommand.cc.

622  {
623  simFront.setMemoryAccessTracking(newValue);
624  return true;
625  }

References SimulatorFrontend::setMemoryAccessTracking().

Here is the call graph for this function:

◆ warnOnExistingProgramAndMachine()

static bool SetMemoryAccessTracking::warnOnExistingProgramAndMachine ( )
inlinestatic

Should the action warn if program & machine exist and value was changed

Returns
boolean value on whether or not to warn

Definition at line 642 of file SettingCommand.cc.

642  {
643  return false;
644  }

The documentation for this class was generated from the following file:
SimulatorFrontend::setMemoryAccessTracking
void setMemoryAccessTracking(bool value)
Definition: SimulatorFrontend.cc:2047
DataObject
Definition: DataObject.hh:50