OpenASIP
2.0
|
Public Member Functions | |
InfoStatsCommand (SimControlLanguageCommand &parentCommand) | |
virtual | ~InfoStatsCommand () |
virtual bool | execute (const std::vector< DataObject > &arguments) |
Public Member Functions inherited from SimControlLanguageSubCommand | |
SimControlLanguageSubCommand (SimControlLanguageCommand &parentCommand) | |
virtual | ~SimControlLanguageSubCommand () |
virtual SimControlLanguageCommand & | parent () |
Implementation of "info stats". The following sub-commands are supported: "executed_operations", "register_reads" and "register_writes"
Definition at line 1120 of file InfoCommand.cc.
|
inline |
Constructor.
Definition at line 1125 of file InfoCommand.cc.
|
inlinevirtual |
|
inlinevirtual |
Executes the "info stats" command.
arguments | Arguments to the command, including the command. |
Implements SimControlLanguageSubCommand.
Definition at line 1141 of file InfoCommand.cc.
References assert, TTAMachine::Machine::controlUnit(), TTAMachine::Machine::Navigator< ComponentType >::count(), TTAMachine::Machine::functionUnitNavigator(), CustomCommand::interpreter(), TTAMachine::Machine::Navigator< ComponentType >::item(), SimulatorFrontend::machine(), TTAMachine::HWOperation::name(), TTAMachine::Component::name(), TTAMachine::BaseRegisterFile::numberOfRegisters(), TTAMachine::FunctionUnit::operation(), TTAMachine::FunctionUnit::operationCount(), UtilizationStats::operationExecutions(), SimControlLanguageSubCommand::parent(), TTAMachine::Machine::registerFileNavigator(), UtilizationStats::registerReads(), UtilizationStats::registerWrites(), ScriptInterpreter::setError(), ScriptInterpreter::setResult(), SimControlLanguageCommand::simulatorFrontend(), StringTools::stringToLower(), StringTools::stringToUpper(), SimulatorToolbox::textGenerator(), Texts::TXT_UNKNOWN_SUBCOMMAND, and SimulatorFrontend::utilizationStatistics().