From c06da74eec612a2d7cd85d99feb10481e2403e42 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 16 Mar 2023 12:27:50 -0400 Subject: [PATCH] Nanosecond display. --- src/engine/devcmd/cmds/HeartbeatCmd.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/devcmd/cmds/HeartbeatCmd.java b/src/engine/devcmd/cmds/HeartbeatCmd.java index eccec5e8..7e14164f 100644 --- a/src/engine/devcmd/cmds/HeartbeatCmd.java +++ b/src/engine/devcmd/cmds/HeartbeatCmd.java @@ -29,8 +29,8 @@ public class HeartbeatCmd extends AbstractDevCmd { protected void _doCmd(PlayerCharacter pc, String[] words, AbstractGameObject target) { - this.throwbackInfo(pc, "Heartbeat : " + TimeUnit.NANOSECONDS.toMillis(SimulationManager.HeartbeatDelta.getNano())); - this.throwbackInfo(pc, "FSM: " + TimeUnit.NANOSECONDS.toMillis(MobileFSMManager.executionTime.getNano())); + this.throwbackInfo(pc, "Heartbeat : " + SimulationManager.HeartbeatDelta.getNano() + "ns"); + this.throwbackInfo(pc, "FSM: " + MobileFSMManager.executionTime.getNano() + "ns"); }