From c9947d0250f0e4cb7562738bf6495bcebe46b499 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sat, 12 Nov 2022 12:35:03 -0600 Subject: [PATCH] Remove LagSpikeCatcher from ClientApi --- .../lod/core/api/internal/ClientApi.java | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/core/src/main/java/com/seibel/lod/core/api/internal/ClientApi.java b/core/src/main/java/com/seibel/lod/core/api/internal/ClientApi.java index 6e4aec89e..e790bd883 100644 --- a/core/src/main/java/com/seibel/lod/core/api/internal/ClientApi.java +++ b/core/src/main/java/com/seibel/lod/core/api/internal/ClientApi.java @@ -83,29 +83,6 @@ public class ClientApi - - public static class LagSpikeCatcher - { - long timer = System.nanoTime(); - - public LagSpikeCatcher() - { - } - - public void end(String source) - { - if (!ENABLE_LAG_SPIKE_LOGGING) - return; - timer = System.nanoTime() - timer; - if (timer > LAG_SPIKE_THRESHOLD_NS) - { - LOGGER.info("LagSpikeCatcher: " + source + " took " + Duration.ofNanos(timer) + "!"); - } - } - } - - - //==============// // constructors // //==============//