33#ifndef TTA_PROXIM_STOP_DIALOG_HH
34#define TTA_PROXIM_STOP_DIALOG_HH
57 void onStop(wxCommandEvent& event);
58 void onClose(wxCloseEvent& event);
61 wxSizer*
createContents(wxWindow* parent,
bool call_fit,
bool set_sizer);
CycleCount ClockCycleCount
Alias for ClockCycleCount.
void onStop(wxCommandEvent &event)
void onUpdate(wxTimerEvent &event)
wxStopWatch * watch_
Stop watch measuring the simulation runtime.
wxStaticText * cyclesCtrl_
Text displaying the simulated cycle count.
static const int UPDATE_INTERVAL
Dialog update itnerval in milliseconds.
ClockCycleCount cycles_
Cycles simulated on the last cps update.
wxStaticText * timeCtrl_
Text displaying the elapsed simulation time.
wxStaticText * cpsCtrl_
Text displaying the average cps value.
virtual ~ProximStopDialog()
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
void onClose(wxCloseEvent &event)
long time_
Time elapsed on the cps update.
wxTimer * timer_
Timer which updates the dialog periodically.
SimulatorFrontend & frontend_
Simulator frontend to stop and track.