Browse Source

Milliseconds are easier to interpret than fractions.

master
MagicBot 2 years ago
parent
commit
1142676c87
  1. 8
      src/engine/devcmd/cmds/HeartbeatCmd.java

8
src/engine/devcmd/cmds/HeartbeatCmd.java

@ -26,11 +26,11 @@ public class HeartbeatCmd extends AbstractDevCmd { @@ -26,11 +26,11 @@ public class HeartbeatCmd extends AbstractDevCmd {
protected void _doCmd(PlayerCharacter pc, String[] words,
AbstractGameObject target) {
this.throwbackInfo(pc, "Heartbeat : " + SimulationManager.executionTime);
this.throwbackInfo(pc, "Heartbeat Max: " + SimulationManager.executionMax);
this.throwbackInfo(pc, "Heartbeat : " + SimulationManager.executionTime.toMillis() + "ms");
this.throwbackInfo(pc, "Heartbeat Max: " + SimulationManager.executionMax.toMillis() + "ms");
this.throwbackInfo(pc, "FSM: " + MobileFSMManager.executionTime);
this.throwbackInfo(pc, "FSM max: " + MobileFSMManager.executionMax);
this.throwbackInfo(pc, "FSM: " + MobileFSMManager.executionTime.toMillis() + "ms");
this.throwbackInfo(pc, "FSM max: " + MobileFSMManager.executionMax.toMillis() + "ms");
}

Loading…
Cancel
Save