Nanosecond display.

This commit is contained in:
2023-03-16 12:27:50 -04:00
parent a4029fb6e2
commit c06da74eec
+2 -2
View File
@@ -29,8 +29,8 @@ public class HeartbeatCmd extends AbstractDevCmd {
protected void _doCmd(PlayerCharacter pc, String[] words, protected void _doCmd(PlayerCharacter pc, String[] words,
AbstractGameObject target) { AbstractGameObject target) {
this.throwbackInfo(pc, "Heartbeat : " + TimeUnit.NANOSECONDS.toMillis(SimulationManager.HeartbeatDelta.getNano())); this.throwbackInfo(pc, "Heartbeat : " + SimulationManager.HeartbeatDelta.getNano() + "ns");
this.throwbackInfo(pc, "FSM: " + TimeUnit.NANOSECONDS.toMillis(MobileFSMManager.executionTime.getNano())); this.throwbackInfo(pc, "FSM: " + MobileFSMManager.executionTime.getNano() + "ns");
} }