OpenASIP  2.0
Static Public Member Functions | List of all members
SetRFTracking Class Reference
Collaboration diagram for SetRFTracking:
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 register file access tracking of simulation.

Definition at line 126 of file SettingCommand.cc.

Member Function Documentation

◆ defaultValue()

static const DataObject& SetRFTracking::defaultValue ( )
inlinestatic

Returns the default value of this setting.

Returns
The default value.

Definition at line 147 of file SettingCommand.cc.

147  {
148  static const DataObject defaultValue_("0");
149  return defaultValue_;
150  }

◆ execute()

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

Sets the register file access tracking of simulation.

Parameters
simFrontSimulatorFrontend to set the tracking for.
newValueValue to set.
Returns
True if setting was successful.

Definition at line 136 of file SettingCommand.cc.

137  {
138  simFront.setRFAccessTracing(newValue);
139  return true;
140  }

References SimulatorFrontend::setRFAccessTracing().

Here is the call graph for this function:

◆ warnOnExistingProgramAndMachine()

static bool SetRFTracking::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 157 of file SettingCommand.cc.

157  {
158  return true;
159  }

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