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);
103 DECLARE_EVENT_TABLE()
UInt32 InstructionAddress
CycleCount ClockCycleCount
Alias for ClockCycleCount.
void onSelection(wxListEvent &event)
virtual ~DisasmExecCountFrame()
void onClose(wxCloseEvent &event)
const DisasmTopCountAttrProvider::ExecutionCountTable & topCountTable_
void addExecCount(unsigned execCount, unsigned start, unsigned end, const wxColour &colour)
void updateTopCountTable()
wxColour bgColour(ClockCycleCount execCount)
virtual wxGridCellAttr * moveCellAttr(InstructionAddress address, int move)
void createExecCountWindow()
std::map< ClockCycleCount, AddressSet > ExecutionCountTable
std::set< InstructionAddress > AddressSet
ExecutionCountTable topCountTable_
Top execution counts and set of instruction addresses with each count.
void addToTopCountTable(InstructionAddress address, ClockCycleCount execCount)
TracedSimulatorFrontend & simulator_
Simulator frontend used for accessing the instructions and exec counts.
virtual ~DisasmTopCountAttrProvider()
DisasmExecCountFrame * listWin_
size_t topCounts_
Number of top execution counts in the top execution count list.