Browse Source

Nanosecond display.

master
MagicBot 2 years ago
parent
commit
c06da74eec
  1. 4
      src/engine/devcmd/cmds/HeartbeatCmd.java

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

@ -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");
} }

Loading…
Cancel
Save