OpenASIP
2.0
|
#include <DisasmExecPercentageAttrProvider.hh>
Public Member Functions | |
DisasmExecPercentageAttrProvider (const TracedSimulatorFrontend &simulator) | |
virtual | ~DisasmExecPercentageAttrProvider () |
virtual wxGridCellAttr * | moveCellAttr (InstructionAddress address, int move) |
Public Member Functions inherited from ProximDisasmAttrProvider | |
ProximDisasmAttrProvider () | |
virtual | ~ProximDisasmAttrProvider () |
virtual void | update () |
Private Attributes | |
const TracedSimulatorFrontend & | simulator_ |
Proxim disassembly attribute provider, which highlights moves based on execution count ratio to the simulated cycle count.
Definition at line 44 of file DisasmExecPercentageAttrProvider.hh.
DisasmExecPercentageAttrProvider::DisasmExecPercentageAttrProvider | ( | const TracedSimulatorFrontend & | simulator | ) |
The Constructor.
simulator | Simulator frontend for accessing instructions and execution counts. |
Definition at line 49 of file DisasmExecPercentageAttrProvider.cc.
|
virtual |
|
virtual |
Returns grid cell attributes for cell with given move.
address | Address of the cell's instruction. |
Implements ProximDisasmAttrProvider.
Definition at line 68 of file DisasmExecPercentageAttrProvider.cc.
References assert, TTAProgram::Move::bus(), TTAMachine::Machine::Navigator< ComponentType >::count(), SimulatorFrontend::cycleCount(), SimulatorFrontend::executableInstructionAt(), SimulatorFrontend::isProgramLoaded(), TTAMachine::Machine::Navigator< ComponentType >::item(), TTAProgram::Instruction::move(), TTAProgram::Instruction::moveCount(), ExecutableInstruction::moveExecutionCount(), program, SimulatorFrontend::program(), and simulator_.
|
private |
Definition at line 52 of file DisasmExecPercentageAttrProvider.hh.
Referenced by moveCellAttr().