Go to the documentation of this file.
33 #ifndef TTA_DISASM_TOP_COUNT_ATTR_PROVIDER_HH
34 #define TTA_DISASM_TOP_COUNT_ATTR_PROVIDER_HH
38 #include <wx/listctrl.h>
39 #include <wx/minifram.h>
88 wxWindow* parent, wxWindowID
id,
94 unsigned execCount,
unsigned start,
95 unsigned end,
const wxColour& colour);
98 void onClose(wxCloseEvent& event);
103 DECLARE_EVENT_TABLE()
std::map< ClockCycleCount, AddressSet > ExecutionCountTable
UInt32 InstructionAddress
std::set< InstructionAddress > AddressSet
virtual ~DisasmExecCountFrame()
wxColour bgColour(ClockCycleCount execCount)
void updateTopCountTable()
DisasmExecCountFrame * listWin_
void createExecCountWindow()
DisasmTopCountAttrProvider(TracedSimulatorFrontend &simulator, size_t topCounts)
virtual wxGridCellAttr * moveCellAttr(InstructionAddress address, int move)
TracedSimulatorFrontend & simulator_
Simulator frontend used for accessing the instructions and exec counts.
void onSelection(wxListEvent &event)
const DisasmTopCountAttrProvider::ExecutionCountTable & topCountTable_
DisasmExecCountFrame(wxWindow *parent, wxWindowID id, const DisasmTopCountAttrProvider::ExecutionCountTable &table)
void addToTopCountTable(InstructionAddress address, ClockCycleCount execCount)
size_t topCounts_
Number of top execution counts in the top execution count list.
virtual ~DisasmTopCountAttrProvider()
ExecutionCountTable topCountTable_
Top execution counts and set of instruction addresses with each count.
CycleCount ClockCycleCount
Alias for ClockCycleCount.
void addExecCount(unsigned execCount, unsigned start, unsigned end, const wxColour &colour)
void onClose(wxCloseEvent &event)