Go to the documentation of this file.
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);
ClockCycleCount cycles_
Cycles simulated on the last cps update.
long time_
Time elapsed on the cps update.
ProximStopDialog(wxWindow *parent, wxWindowID id, SimulatorFrontend &frontend)
SimulatorFrontend & frontend_
Simulator frontend to stop and track.
wxStaticText * cyclesCtrl_
Text displaying the simulated cycle count.
wxStaticText * timeCtrl_
Text displaying the elapsed simulation time.
wxStopWatch * watch_
Stop watch measuring the simulation runtime.
void onStop(wxCommandEvent &event)
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
wxStaticText * cpsCtrl_
Text displaying the average cps value.
void onClose(wxCloseEvent &event)
CycleCount ClockCycleCount
Alias for ClockCycleCount.
void onUpdate(wxTimerEvent &event)
wxTimer * timer_
Timer which updates the dialog periodically.
virtual ~ProximStopDialog()
static const int UPDATE_INTERVAL
Dialog update itnerval in milliseconds.