Laufzeit und Watchdog und Timer
This commit is contained in:
@ -28,6 +28,8 @@ import javafx.stage.Stage;
|
||||
import java.util.Arrays;
|
||||
import java.util.Objects;
|
||||
|
||||
import static fabrik.simulator.pic16f84.Commands.totalExecutionTime;
|
||||
|
||||
|
||||
public class Controller_Frontend {
|
||||
|
||||
@ -36,6 +38,7 @@ public class Controller_Frontend {
|
||||
private int [] ind;
|
||||
|
||||
|
||||
|
||||
@FXML
|
||||
private Button stepintoButton;
|
||||
|
||||
@ -71,6 +74,9 @@ public class Controller_Frontend {
|
||||
@FXML
|
||||
private Button stopButton;
|
||||
|
||||
@FXML
|
||||
private Label totalExecutionTimeLabel;
|
||||
|
||||
|
||||
|
||||
|
||||
@ -111,6 +117,7 @@ public class Controller_Frontend {
|
||||
});
|
||||
autoRunThread.setDaemon(true);
|
||||
autoRunThread.start();
|
||||
totalExecutionTimeLabel.setText("Total Execution Time: " + Commands.getTotalExecutionTime() + " ms");
|
||||
|
||||
}
|
||||
|
||||
@ -312,6 +319,8 @@ public class Controller_Frontend {
|
||||
stopButton.setOnAction(this::stopAutoRun);
|
||||
}
|
||||
|
||||
|
||||
|
||||
private static void setTRISbuttons(ToggleButtonGroup[] allButtons) {
|
||||
allTRISbuttons = allButtons;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user